diff --git a/app/components/ui/switch.tsx b/app/components/ui/switch.tsx new file mode 100644 index 0000000..1525354 --- /dev/null +++ b/app/components/ui/switch.tsx @@ -0,0 +1,32 @@ +import * as React from "react" +import { cn } from "~/lib/utils" +import { Switch as SwitchPrimitive } from "radix-ui" + +function Switch({ + className, + size = "default", + ...props +}: React.ComponentProps & { + size?: "sm" | "default" +}) { + return ( + + + + ) +} + +export { Switch }