import React from 'react' import MoonIcon from '@geist-ui/icons/moon' import SunIcon from '@geist-ui/icons/sun' // import { useAllThemes, useTheme } from '@geist-ui/core' import styles from './header.module.css' import { ThemeProps } from '@lib/types' import { Select } from '@geist-ui/core' const Controls = ({ changeTheme, theme }: ThemeProps) => { const switchThemes = () => { changeTheme() } return (