AppearanceToggler
Interfaces
AppearanceTogglerProps
Defined in: manager/components/AppearanceToggler.tsx:7
Properties
Property | Type | Description | Defined in |
---|---|---|---|
appearance | Appearance | Theme appearance. | manager/components/AppearanceToggler.tsx:9 |
setAppearance | Dispatch <SetStateAction <Appearance >> | State for theme appearance. | manager/components/AppearanceToggler.tsx:11 |
Functions
default()
default(
__namedParameters
):Element
Defined in: manager/components/AppearanceToggler.tsx:21
The theme appearance toggler component.
This component will be a small icon bottom on the top right corner of the manager window. Clicking the icon button should switch the theme appearance between light and dark mode. The tooltip and icon should reflect the current theme appearance.
Parameters
Parameter | Type |
---|---|
__namedParameters | AppearanceTogglerProps |
Returns
Element