Browse Source

Merge pull request #15753 from ztplz/checkbutton

Add name prop for checkbox group
pull/15759/head
偏右 6 years ago
committed by GitHub
parent
commit
ddf9dd5bef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/checkbox/Group.tsx

1
components/checkbox/Group.tsx

@ -25,6 +25,7 @@ export interface AbstractCheckboxGroupProps {
}
export interface CheckboxGroupProps extends AbstractCheckboxGroupProps {
name?: string;
defaultValue?: Array<CheckboxValueType>;
value?: Array<CheckboxValueType>;
onChange?: (checkedValue: Array<CheckboxValueType>) => void;

Loading…
Cancel
Save