Skip to content

Commit 737d9e2

Browse files
authored
docs(checkbox): 修订数据类型 (#3273)
1 parent 2627778 commit 737d9e2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/packages/checkbox/doc.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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` | `-` |

src/packages/checkbox/doc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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` | `-` |

src/packages/checkbox/doc.taro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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` | `-` |

src/packages/checkbox/doc.zh-TW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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` | `-` |

0 commit comments

Comments
 (0)