Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/szhsin/react-menu
/ ThemeSwitch.js
File
ThemeSwitch.js
example/src/components/ThemeSwitch.js ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
React from
'react'
;
2
import
{ useTheme, themeState } from
'../store'
;
3
import
{ bem } from
'../utils'
;
4
Callers
nothing calls this directly
Calls
1
useTheme
Function · 0.90
Tested by
no test coverage detected