Files

25 lines
1.0 KiB
JSON
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
{
"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.&#39;button&#39;, &#39;a&#39; 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&#39;s props." },
"rootRef": { "description": "A ref to the component&#39;s root DOM element." },
"setFocusVisible": {
"description": "Callback for setting the <code>focusVisible</code> param."
}
}
}