(props: React.ComponentPropsWithoutRef<'svg'>)
| 14 | } |
| 15 | |
| 16 | function 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 | |
| 24 | export function ThemeToggle() { |
| 25 | let { resolvedTheme, setTheme } = useTheme(); |
nothing calls this directly
no outgoing calls
no test coverage detected