Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
26 lines
1.3 KiB
JSON
26 lines
1.3 KiB
JSON
{
|
|
"hookDescription": "The basic building block for creating custom switches.",
|
|
"parametersDescriptions": {
|
|
"checked": { "description": "If <code>true</code>, the component is checked." },
|
|
"defaultChecked": {
|
|
"description": "The default checked state. Use when the component is not controlled."
|
|
},
|
|
"disabled": { "description": "If <code>true</code>, the component is disabled." },
|
|
"onChange": { "description": "Callback fired when the state is changed." },
|
|
"readOnly": { "description": "If <code>true</code>, the component is read only." },
|
|
"required": {
|
|
"description": "If <code>true</code>, the <code>input</code> element is required."
|
|
}
|
|
},
|
|
"returnValueDescriptions": {
|
|
"checked": { "description": "If <code>true</code>, the component will be checked." },
|
|
"disabled": { "description": "If <code>true</code>, the component will be disabled." },
|
|
"focusVisible": {
|
|
"description": "If <code>true</code>, it indicates that the component is being focused using keyboard."
|
|
},
|
|
"getInputProps": { "description": "Resolver for the input slot's props." },
|
|
"inputRef": { "description": "Ref to the input slot's DOM node." },
|
|
"readOnly": { "description": "If <code>true</code>, the component will be read only." }
|
|
}
|
|
}
|