fix: of -> or in documentation
parent
61228b10db
commit
31fac7b779
|
@ -47,7 +47,7 @@ If you want to provide a theme via context, the component key is `RTCheckbox`.
|
|||
| `children` | `String`, `Element` or `Array` | | Children to pass through the component. |
|
||||
| `className` | `String` | `''` | Sets a class to give customized styles to the checkbox field.|
|
||||
| `disabled` | `Boolean` | `false` | If true, the checkbox shown as disabled and cannot be modified.|
|
||||
| `label` | `String` of `node` | | Text label to attach next to the checkbox element.|
|
||||
| `label` | `String` or `node` | | Text label to attach next to the checkbox element.|
|
||||
| `name` | `String` | `false` | The name of the field to set in the input checkbox.|
|
||||
| `onBlur` | `Function` | | Callback called when the checkbox is blurred.|
|
||||
| `onChange` | `Function` | | Callback called when the checkbox value is changed.|
|
||||
|
|
|
@ -56,7 +56,7 @@ The inner component to compose radio selectors. They will be rendered as radio i
|
|||
| `checked` | `Boolean` | `false` | If true, the input element will be selected by default. Transferred from the parent. |
|
||||
| `className` | `String` | `''` | Set a class to give custom styles to the radio button.|
|
||||
| `disabled` | `Boolean` | `false` | If true, the item will be displayed as disabled.|
|
||||
| `label` | `String` of `node` | `''` | Label for the radio button.|
|
||||
| `label` | `String` or `node` | `''` | Label for the radio button.|
|
||||
| `name` | `String` | | Name for the input element. |
|
||||
| `onBlur` | `Function` | | Callback function that will be invoked when the input is blurred. |
|
||||
| `onChange` | `Function` | | Callback function that will be invoked when the value changes. |
|
||||
|
|
Loading…
Reference in New Issue