diff --git a/packages/ui-common/src/components/switch.tsx b/packages/ui-common/src/components/switch.tsx index 76190b7c9..83829ae92 100644 --- a/packages/ui-common/src/components/switch.tsx +++ b/packages/ui-common/src/components/switch.tsx @@ -1,33 +1,33 @@ -import * as React from "react" -import { Switch as SwitchPrimitive } from "radix-ui" +import * as React from "react"; +import { Switch as SwitchPrimitive } from "radix-ui"; -import { cn } from "../lib/utils" +import { cn } from "../lib/utils"; function Switch({ className, size = "default", ...props }: React.ComponentProps & { - size?: "sm" | "default" + size?: "sm" | "default" | "lg"; }) { return ( - ) + ); } -export { Switch } +export { Switch }; diff --git a/packages/ui-common/src/index.ts b/packages/ui-common/src/index.ts index ca2df73bf..b2c2978bd 100644 --- a/packages/ui-common/src/index.ts +++ b/packages/ui-common/src/index.ts @@ -32,4 +32,5 @@ export * from "./components/dialog"; export * from "./components/SmartFileInput"; export * from "./components/select"; export * from "./components/switch"; +export * from "./components/separator"; export * from "./components/field";