39 lines
1.4 KiB
JSON
39 lines
1.4 KiB
JSON
|
|
{
|
||
|
|
"componentDescription": "",
|
||
|
|
"propDescriptions": {
|
||
|
|
"children": { "description": "The content of the component." },
|
||
|
|
"defaultValue": {
|
||
|
|
"description": "The default value. Use when the component is not controlled."
|
||
|
|
},
|
||
|
|
"name": {
|
||
|
|
"description": "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": {
|
||
|
|
"description": "Callback fired when a radio button is selected.",
|
||
|
|
"typeDescriptions": {
|
||
|
|
"event": { "name": "event", "description": "The event source of the callback." },
|
||
|
|
"value": {
|
||
|
|
"name": "value",
|
||
|
|
"description": "The value of the selected radio button. You can pull out the new value by accessing <code>event.target.value</code> (string)."
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"value": {
|
||
|
|
"description": "Value of the selected radio button. The DOM API casts this to a string."
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"classDescriptions": {
|
||
|
|
"error": {
|
||
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
||
|
|
"nodeName": "the root element",
|
||
|
|
"conditions": "<code>error={true}</code>"
|
||
|
|
},
|
||
|
|
"root": { "description": "Styles applied to the root element." },
|
||
|
|
"row": {
|
||
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
||
|
|
"nodeName": "the root element",
|
||
|
|
"conditions": "<code>row={true}</code>"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|