MCPcopy 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

1import React from 'react';
2import { useTheme, themeState } from '../store';
3import { bem } from '../utils';
4

Callers

nothing calls this directly

Calls 1

useThemeFunction · 0.90

Tested by

no test coverage detected