From cb86ac9c121d4ff4fb03dcd3c0505961f15bfb17 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Fri, 16 Jan 2026 10:55:33 +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 ( +
+ +
+ ); +};