import { Check as CheckIcon } from '@tamagui/lucide-icons-2'
import type { CheckboxProps } from 'tamagui'
import { Checkbox, Label, Theme, XStack, YStack } from 'tamagui'
export function CheckboxDemo() {
return (
)
}
export function CheckboxWithLabel({
size,
label = 'Accept terms and conditions',
disabled,
...checkboxProps
}: CheckboxProps & { label?: string }) {
const id = `checkbox-${(size || '').toString().slice(1)}`
return (
)
}