diff --git a/packages/lsd-react/src/components/Checkbox/Checkbox.tsx b/packages/lsd-react/src/components/Checkbox/Checkbox.tsx index c827f3d..43c649c 100644 --- a/packages/lsd-react/src/components/Checkbox/Checkbox.tsx +++ b/packages/lsd-react/src/components/Checkbox/Checkbox.tsx @@ -12,7 +12,7 @@ export type CheckboxProps = Omit< > & Pick< React.InputHTMLAttributes, - 'onChange' | 'checked' | 'defaultChecked' + 'name' | 'onChange' | 'checked' | 'defaultChecked' > & { disabled?: boolean indeterminate?: boolean @@ -23,6 +23,7 @@ export type CheckboxProps = Omit< export const Checkbox: React.FC & { classes: typeof checkboxClasses } = ({ + name, size = 'large', onChange, checked, @@ -75,6 +76,7 @@ export const Checkbox: React.FC & { >