Skip to content

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).

Parameter Type
__namedParameters? ThemeToggleProps

ReactElement