CheckList is implemented based on List, which is a list that could be checked, also supports two kinds of modes (default and card).
Basic usage of CheckList component.
| Properties | Description | Type | Default | 
|---|---|---|---|
| value | The selected items | string[] | [] | 
| defaultValue | The default items | string[] | [] | 
| onChange | Triggered when the option changes | (value: string[]) => void | - | 
| multiple | Whether to allow multiple selection or not | boolean | false | 
| activeIcon | The icon displayed when selected | ReactNode | <Icon type="check" /> | 
| readOnly | Is the check list item readonly | boolean | false | 
| disabled | Is the check list disabled | boolean | false | 
| Properties | Description | Type | Default | 
|---|---|---|---|
| value | The option value | string | - | 
| readOnly | Is the check list item readonly | boolean | false | 
| disabled | Is the check list item disabled | boolean | false |