"use client"; import "./Switch.scss"; import { useState } from "react"; interface ISwitch { color?: string; onClick?: () => void; } const Switch: React.FC = ({ color, onClick }) => { const [toggle, setToggle] = useState(false); return ( ); }; export default Switch;