Name | Type | Description |
---|---|---|
id | String | Id to connect label with input |
name | String | Specifies the name for this input |
onChange | Function | An Event handler function |
value | String | Value of currently selected checkbox |
defaultChecked | Boolean | Specifies the initial value for type="checkbox" and type="radio" inputs |
ariaLabel | String | Specify if label is not visible but will be announced by screen reader |
Name | Type | Description |
---|---|---|
id | String | Id to connect label with input |
name | String | Specifies the name for this input |
onChange | Function | An Event handler function |
value | String | Value of currently selected checkbox |
checked | Boolean | For a checkbox input or a radio button, controls whether it is selected |
defaultChecked | Boolean | Specifies the initial value for type="checkbox" and type="radio" inputs |
ariaLabel | String | Specify if label is not visible but will be announced by screen reader |
label | String | Checkbox label |
children | Node | Checkbox label |
color | String | Specify element color |
Name | Type | Description |
---|---|---|
id | String | Id to connect label with input |
name | String | Specifies the name for this input |
onChange | Function | An Event handler function |
value | String | Value of currently selected radio |
checked | Boolean | For a checkbox input or a radio button, controls whether it is selected |
defaultChecked | Boolean | Specifies the initial value for type="checkbox" and type="radio" inputs |
ariaLabel | String | Specify if label is not visible but will be announced by screen reader |
label | String | Radio label |
children | Node | Radio label |
color | String | Specify element color |