25 lines
1.0 KiB
JSON
25 lines
1.0 KiB
JSON
|
|
{
|
||
|
|
"hookDescription": "",
|
||
|
|
"parametersDescriptions": {
|
||
|
|
"disabled": { "description": "If <code>true</code>, the component is disabled." },
|
||
|
|
"focusableWhenDisabled": {
|
||
|
|
"description": "If <code>true</code>, allows a disabled button to receive focus."
|
||
|
|
},
|
||
|
|
"rootElementName": { "description": "The HTML element, e.g.'button', 'a' etc" },
|
||
|
|
"type": {
|
||
|
|
"description": "Type attribute applied when the <code>component</code> is <code>button</code>."
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"returnValueDescriptions": {
|
||
|
|
"active": { "description": "If <code>true</code>, the component is active (pressed)." },
|
||
|
|
"focusVisible": {
|
||
|
|
"description": "If <code>true</code>, the component is being focused using keyboard."
|
||
|
|
},
|
||
|
|
"getRootProps": { "description": "Resolver for the root slot's props." },
|
||
|
|
"rootRef": { "description": "A ref to the component's root DOM element." },
|
||
|
|
"setFocusVisible": {
|
||
|
|
"description": "Callback for setting the <code>focusVisible</code> param."
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|