{
"hookDescription": "The basic building block for creating custom switches.",
"parametersDescriptions": {
"checked": { "description": "If true, the component is checked." },
"defaultChecked": {
"description": "The default checked state. Use when the component is not controlled."
},
"disabled": { "description": "If true, the component is disabled." },
"onChange": { "description": "Callback fired when the state is changed." },
"readOnly": { "description": "If true, the component is read only." },
"required": {
"description": "If true, the input element is required."
}
},
"returnValueDescriptions": {
"checked": { "description": "If true, the component will be checked." },
"disabled": { "description": "If true, the component will be disabled." },
"focusVisible": {
"description": "If true, 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 true, the component will be read only." }
}
}