API documentation for RadioButton component
Defines valid properties in RadioButton component.
Defines valid state in RadioButton component.
Defines the methods and properties exposed by RadioButton component.
Event fired when the radio button's checked state changes.
name | type | description |
---|---|---|
value | unknown | Value of the radio button. |
originalEvent | ChangeEvent | The original event that triggered the change. |
checked | boolean | The checked state of the radio button. |
Defines passthrough(pt) options of RadioButton component.
Instance of RadioButton component.
values |
---|
ComponentInstance<RadioButtonProps, RadioButtonState, RadioButtonExposes> |
Defines valid properties in RadioButtonGroup component.
Defines the methods and properties exposed by RadioButtonGroup component.
name | type | default | description |
---|---|---|---|
updateChange | (event: RadioButtonGroupUpdateChangeEvent) => void | null | Updates the value of the radio button group. |
Event fired when the radio button group's value changes.
Used to update the radio button group value.
name | type | description |
---|---|---|
value | unknown | Value of the radio button. |
originalEvent | ChangeEvent | The original event that triggered the change. |
checked | boolean | The checked state of the radio button. |
Defines passthrough(pt) options of RadioButtonGroup component.
name | type | default | description |
---|---|---|---|
root | RadioButtonGroupPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Instance of RadioButtonGroup component.
values |
---|
ComponentInstance<RadioButtonGroupProps, RadioButtonGroupState, RadioButtonGroupExposes> |
Defines valid properties in useRadioButton.
Defines valid state in useRadioButton.
Defines the methods and properties exposed by useRadioButton.
Event fired when the radio button's checked state changes.
name | type | description |
---|---|---|
originalEvent | E | The original event that triggered the change. |
checked | boolean | The checked state of the radio button. |
Instance of useRadioButton headless.
values |
---|
HeadlessInstance<useRadioButtonProps, useRadioButtonState, useRadioButtonExposes> |