File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ When the value changes, the change event will be fired
145145| icon | before selection | ` ReactNode ` | ` 'CheckNormal' ` |
146146| activeIcon | after selection | ` ReactNode ` | ` 'Checked' ` |
147147| indeterminateIcon | half-selected state | ` ReactNode ` | ` 'CheckDisabled' ` |
148- | label | text content of the checkbox | ` string ` | ` - ` |
148+ | label | text content of the checkbox | ` ReactNode ` | ` - ` |
149149| value | identification value, used in Group mode | ` string ` \| ` number ` | ` - ` |
150150| shape | shape | ` button ` \| ` round ` | ` round ` |
151151| onChange | Triggered when the value changes | ` (value: boolean) => void ` | ` - ` |
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ import { Checkbox } from '@nutui/nutui-react'
147147| icon | 选中前 | ` ReactNode ` | ` 'CheckNormal' ` |
148148| activeIcon | 选中后 | ` ReactNode ` | ` 'Checked' ` |
149149| indeterminateIcon | 半选状态 | ` ReactNode ` | ` 'CheckDisabled' ` |
150- | label | 复选框的文本内容 | ` string ` | ` - ` |
150+ | label | 复选框的文本内容 | ` ReactNode ` | ` - ` |
151151| value | 标识值,用于 Group 模式 | ` string ` \| ` number ` | ` - ` |
152152| shape | 形状 | ` button ` \| ` round ` | ` round ` |
153153| onChange | 值变化时触发 | ` (value: boolean) => void ` | ` - ` |
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ import { Checkbox } from '@nutui/nutui-react-taro'
147147| icon | 选中前 | ` ReactNode ` | ` 'CheckNormal' ` |
148148| activeIcon | 选中后 | ` ReactNode ` | ` 'Checked' ` |
149149| indeterminateIcon | 半选状态 | ` ReactNode ` | ` 'CheckDisabled' ` |
150- | label | 复选框的文本内容 | ` string ` | ` - ` |
150+ | label | 复选框的文本内容 | ` ReactNode ` | ` - ` |
151151| value | 标识值,用于 Group 模式 | ` string ` \| ` number ` | ` - ` |
152152| shape | 形状 | ` button ` \| ` round ` | ` round ` |
153153| onChange | 值变化时触发 | ` (value: boolean) => void ` | ` - ` |
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ import { Checkbox } from '@nutui/nutui-react'
147147| icon | 选中前 | ` ReactNode ` | ` 'CheckNormal' ` |
148148| activeIcon | 选中后 | ` ReactNode ` | ` 'Checked' ` |
149149| indeterminateIcon | 半选状态 | ` ReactNode ` | ` 'CheckDisabled' ` |
150- | label | 复选框的文本内容 | ` string ` | ` - ` |
150+ | label | 复选框的文本内容 | ` ReactNode ` | ` - ` |
151151| value | 标识值,用于 Group 模式 | ` string ` \| ` number ` | ` - ` |
152152| shape | 形状 | ` button ` \| ` round ` | ` round ` |
153153| onChange | 值变化时触发 | ` (value: boolean) => void ` | ` - ` |
You can’t perform that action at this time.
0 commit comments