We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2a4341 commit 970c22eCopy full SHA for 970c22e
1 file changed
packages/eclipse/src/components/switch.tsx
@@ -1,15 +1,15 @@
1
-"use client"
+"use client";
2
3
-import { Switch as SwitchPrimitive } from "@base-ui/react/switch"
+import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
4
5
-import { cn } from ..@/lib/utils"
+import { cn } from "../lib/cn";
6
7
function Switch({
8
className,
9
size = "default",
10
...props
11
}: SwitchPrimitive.Root.Props & {
12
- size?: "sm" | "default"
+ size?: "sm" | "default";
13
}) {
14
return (
15
<SwitchPrimitive.Root
@@ -28,7 +28,7 @@ function Switch({
28
)}
29
/>
30
</SwitchPrimitive.Root>
31
- )
+ );
32
}
33
34
-export { Switch }
+export { Switch };
0 commit comments