title: RadioGroup
sidebar_label: RadioGroup
A single-item picker consisting of multiple Radio components.
Reference
Type
ComponentType<RadioGroupProps>
RadioGroupProps
Property |
Type |
Required |
Description |
onChange |
BaseEventOrigFunction<any> |
No |
A change event triggered when selected options in checkbox-group change. detail = {{value:[Array of values of the selected checkboxes]} } |
Property Support
Property |
WeChat Mini-Program |
H5 |
React Native |
RadioGroupProps.onChange |
✔️ |
✔️ |
onChangeEventDetail
Param |
Type |
value |
string[] |
API Support
API |
WeChat Mini-Program |
H5 |
React Native |
RadioGroup |
✔️ |
✔️ |
✔️ |