diff --git a/components/switch.tsx b/components/switch.tsx new file mode 100644 index 0000000..e2253cf --- /dev/null +++ b/components/switch.tsx @@ -0,0 +1,48 @@ +import { motion } from "framer-motion"; +import { cn } from "@/lib/utils"; +import { useId } from "react"; +export const Switch = ({ + checked, + setChecked, +}: { + checked: boolean; + setChecked: (checked: boolean) => void; +}) => { + const id = useId(); + return ( +
+ ); +};