import { useTheme } from "@mui/material"; import "./index.css"; const SunAndMoonIcon = () => { const theme = useTheme(); return ( ); }; export default SunAndMoonIcon;