radio-group
v4.9.10arrow_drop_downv4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
30,500
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
25 KB
The default `input` element value.
Like
Install radio-group as a package?
Copied
npm i @bit/mui-org.material-ui.radio-group
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
The default input
element value. Use when the component is not controlled.
The name used to reference the value of the control. If you don’t provide this prop, it falls back to a randomly generated name.
Callback fired when a radio button is selected.
Value of the selected radio button. The DOM API casts this to a string.
Properties
Name | Type | Description |
---|---|---|
children | node | The content of the component. |
defaultValue | string[] | number | string | The default |
name | string | The name used to reference the value of the control. If you don’t provide this prop, it falls back to a randomly generated name. |
onChange | function | The event source of the callback.
You can pull out the new value by accessing |
value | any | Value of the selected radio button. The DOM API casts this to a string. |