Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/lukebennett88/luke-ui. ui.lukebennett.dev
Something went wrong. Try again.
TSX
1234567891011121314151617181920212223import { Checkbox, CheckboxContent, CheckboxControl, CheckboxIndicator,} from '@luke-ui/react/primitives/checkbox';import { FieldDescription, FieldError } from '@luke-ui/react/primitives/field';
export default () => { return ( <Checkbox isInvalid> <CheckboxContent> <CheckboxControl> <CheckboxIndicator /> </CheckboxControl> Email notifications </CheckboxContent> <FieldDescription>Receive updates by email.</FieldDescription> <FieldError>Choose an option.</FieldError> </Checkbox> );};