跳到主要内容

bn.offThemeChange

offThemeChange: (cb: ThemeChangeCallback) => void

Type declaration

▸ (cb): void

Parameters

NameType
cbThemeChangeCallback

Returns

void


ThemeChangeCallback

Ƭ ThemeChangeCallback: (result: { theme: Theme }) => void

Type declaration

▸ (result): void

Parameters

NameType
resultObject
result.themeTheme

Returns

void


Theme

Ƭ Theme: "light" | "dark"