Browse Source
Merge pull request #15753 from ztplz/checkbutton
Add name prop for checkbox group
pull/15759/head
偏右
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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; |
|
|
|