ThemeProviderProps
Defined in: src/ui/theme-context.tsx:65
Props for ThemeProvider.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
children |
(resolved) => ReactNode |
Render prop receiving the resolved theme (e.g. to set data-theme on a wrapper). |
src/ui/theme-context.tsx:71 |
mode? |
ThemeMode |
How the theme is decided; defaults to "auto". |
src/ui/theme-context.tsx:69 |
store |
ThemeStore |
The product’s theme store (createThemeStore). | src/ui/theme-context.tsx:67 |