Saltar al contenido principal

Interface: ThemeOptions

Defined in: src/types/index.ts:513

Properties

attribute?

optional attribute?: string

Defined in: src/types/index.ts:516


defaultMode?

optional defaultMode?: ThemeMode

Defined in: src/types/index.ts:514


onChange?

optional onChange?: (mode, resolved) => void

Defined in: src/types/index.ts:518

Parameters

mode

ThemeMode

resolved

"light" | "dark"

Returns

void


storageKey?

optional storageKey?: string

Defined in: src/types/index.ts:515


target?

optional target?: HTMLElement

Defined in: src/types/index.ts:517