From 1b2cd20f3f6caca346d8fc8953df5b2a2d49dc45 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Sun, 18 Jan 2026 12:58:22 +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 };