From af55fa31d006c6846e4f6e3d18a48b4434cd41d5 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Sun, 18 Jan 2026 13:40:59 +0000 Subject: [PATCH] Update components/ui/switch.tsx --- components/ui/switch.tsx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 components/ui/switch.tsx diff --git a/components/ui/switch.tsx b/components/ui/switch.tsx new file mode 100644 index 0000000..b73edee --- /dev/null +++ b/components/ui/switch.tsx @@ -0,0 +1,29 @@ +"use client"; + +import * as React from "react"; +import * as SwitchPrimitives from "@radix-ui/react-switch"; + +import { cn } from "@/lib/utils"; + +const Switch = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + + + +)); +Switch.displayName = SwitchPrimitives.Root.displayName; + +export { Switch };