| null
| undefined
+ tile?: boolean
+ labelDescription?: React.ReactNode
}
export const Checkbox = ({
@@ -20,14 +22,19 @@ export const Checkbox = ({
className,
label,
inputRef,
+ tile,
+ labelDescription,
...inputProps
}: CheckboxProps & JSX.IntrinsicElements['input']): React.ReactElement => {
const classes = classnames('usa-checkbox', className)
+ const checkboxClasses = classnames('usa-checkbox__input', {
+ 'usa-checkbox__input--tile': tile,
+ })
return (
)