diff --git a/components/helpers/switch-with-label.tsx b/components/helpers/switch-with-label.tsx index 379873bb..a4d2646d 100644 --- a/components/helpers/switch-with-label.tsx +++ b/components/helpers/switch-with-label.tsx @@ -1,11 +1,11 @@ -import { SizeTokens, XStack, Label, Separator, Switch } from "tamagui"; +import { SizeTokens, XStack, Separator, Switch } from "tamagui"; +import { Label } from "./text"; export function SwitchWithLabel(props: { size: SizeTokens; checked: boolean, label: string, onCheckedChange: (value: boolean) => void, width?: number }) { const id = `switch-${props.size.toString().slice(1)}-${props.checked ?? ''}}` return (