From 515b092141429cd13a01687b912969572ebb05bb Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Thu, 15 Jan 2026 14:28:59 +0000 Subject: [PATCH] Update components/switch.tsx --- components/switch.tsx | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 components/switch.tsx 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 ( +
+ +
+ ); +};