Interface: ModeController
Use this controller to change color mode
Properties​
mode​
mode:
"light"
|"dark"
Defined in​
packages/firecms_core/src/hooks/useModeController.tsx:9
setMode()​
setMode: (
mode
) =>void
Parameters​
• mode: "light"
| "dark"
Returns​
void
Defined in​
packages/firecms_core/src/hooks/useModeController.tsx:10
toggleMode()​
toggleMode: () =>
void
Returns​
void