# checkbox #### Props | 属性 | 说明 | 类型 | 默认值 | | ------------------- | -------------------------------------------- | --------------------------- | ---------- | | **`checked`** | 指定当前是否选中 | `bool` | false | | **`size`** | 选框大小 | `num` | 20 | | **`onchange`** | Click to return to check whether(return true | | false) | `func` | - | | **`label`** | CheckBox after the content | `String || Element(Object)` | | | **`labelStyle`** | label style | `boolean` | - | | **`checkBoxColor`** | checkBox color | `string` | brandColor | | **`isRight`** | Whether the content location is on the right | `bool` | | # checkboxGroup #### Props | 属性 | 说明 | 类型 | 默认值 | | ------------------- | -------------------------------------------------------------------------------------- | -------- | -------- | | **`isRight`** | 文本内容的位置是否在右边 | `bool` | false | | **`size`** | 多选框大小 | `num` | 20 | | **`checkBoxColor`** | 多选框颜色 | `string` | - | | **`checkKey`** | 多选框是否被选中的 key 值,比如,每行中选中的 isChecked:true,未选中为 isChecked:false | `string` | 必须有值 | | **`renderLabel`** | 文本内容,格式:renderLabel={data => this.renderLabel(data)};其中 data 是每行的 data | `func` | - | | **`CheckboxData`** | 需要遍历的数据 | `arr` | - |