const sunIcon = ( ) const moonIcon = ( ) type Props = { setDarkMode: (state: boolean) => void } export default function ThemeSwitcher({ setDarkMode }: Props) { return (