From 37fa8a98a5d2a3bf5a47118742b9be25ef93af19 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:18:29 +0330 Subject: [PATCH] Import source: vault/components/ui/switch Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- vault/components/ui/switch.tsx | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 vault/components/ui/switch.tsx diff --git a/vault/components/ui/switch.tsx b/vault/components/ui/switch.tsx new file mode 100644 index 0000000..9b8b44b --- /dev/null +++ b/vault/components/ui/switch.tsx @@ -0,0 +1,32 @@ +"use client" + +import { Switch as SwitchPrimitive } from "@base-ui/react/switch" + +import { cn } from "@/lib/utils" + +function Switch({ + className, + size = "default", + ...props +}: SwitchPrimitive.Root.Props & { + size?: "sm" | "default" +}) { + return ( + + + + ) +} + +export { Switch }