Files
react-test/docs/data/joy/customization/dark-mode/ModeToggle.tsx.preview

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
297 B
Plaintext
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
<CssVarsProvider
// the props below are specific to this demo,
// you might not need them in your app.
//
theme={theme}
//
// the local storage key to use.
modeStorageKey="mode-toggle-demo"
//
// set as root provider
disableNestedContext
>
<ModeSwitcher />
</CssVarsProvider>