ThemeToggle
function ThemeToggle(__namedParameters?): ReactElement;Defined in: src/ui/components/ThemeToggle.tsx:23
The system/light/dark switcher. It persists the choice in the product’s theme store (the store
prop, else the enclosing ThemeProvider’s).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters? |
ThemeToggleProps |
Returns
Section titled “Returns”ReactElement