Interface representing the properties for the ThemeProvider component.

interface ThemeProviderProps {
    children: ReactNode;
    defaultTheme?: Theme;
    storageKey?: string;
}

Properties

children: ReactNode

The child elements to be wrapped by the ThemeProvider.

defaultTheme?: Theme

The default theme to be used.

storageKey?: string

The key used for storing the theme preference in storage.