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

Function SunIcon

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

Source from the content-addressed store, hash-verified

2import { useTheme } from 'next-themes';
3
4function SunIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
5 return (
6 <svg viewBox="0 0 20 20" fill="none" aria-hidden="true" {...props}>
7 <path d="M12.5 10a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z" />
8 <path
9 strokeLinecap="round"
10 d="M10 5.5v-1M13.182 6.818l.707-.707M14.5 10h1M13.182 13.182l.707.707M10 15.5v-1M6.11 13.889l.708-.707M4.5 10h1M6.11 6.111l.708.707"
11 />
12 </svg>
13 );
14}
15
16function MoonIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
17 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected