Theme
API Reference
ThemeProvider
({ children }: { children: React.ReactNode; }) => React.JSX.Element
function ThemeProvider({ children: React.ReactNode; }): Element
A provider that sets the theme colors for the entire application.
Parameters
Properties
children *
React.ReactNode
Returns
ElementThemeStyles
() => Promise<React.JSX.Element>
function ThemeStyles(): Promise<Element>
A component that sets the global theme colors.
Returns
Promise<Element>ThemeScripts
() => React.JSX.Element
function ThemeScripts(): Element
A script that sets the theme based on local storage immediately before the page renders.
Returns
ElementLast updated