radio-group

v4.9.10arrow_drop_down
v4.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.
2 contributors
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
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle 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
NameTypeDescription
children
node

The content of the component.

defaultValue
string[] | number | string

The default input element value. Use when the component is not controlled.

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 event.target.value (string).

value
any

Value of the selected radio button. The DOM API casts this to a string.

Help and resources