MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / MoonIcon

Function MoonIcon

apps/baseai.dev/src/components/ThemeToggle.tsx:16–22  ·  view source on GitHub ↗
(props: React.ComponentPropsWithoutRef<'svg'>)

Source from the content-addressed store, hash-verified

14}
15
16function MoonIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
17 return (
18 <svg viewBox="0 0 20 20" fill="none" aria-hidden="true" {...props}>
19 <path d="M15.224 11.724a5.5 5.5 0 0 1-6.949-6.949 5.5 5.5 0 1 0 6.949 6.949Z" />
20 </svg>
21 );
22}
23
24export function ThemeToggle() {
25 let { resolvedTheme, setTheme } = useTheme();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected