Added type definition for disabled prop (#4546)
parent
fe3387c89b
commit
544aa37841
|
@ -101,6 +101,11 @@ export interface InputSwitchProps {
|
|||
* @defaultValue false
|
||||
*/
|
||||
falseValue?: any;
|
||||
/**
|
||||
* When present, it specifies that the component should be disabled.
|
||||
* @defaultValue false
|
||||
*/
|
||||
disabled?: boolean | undefined;
|
||||
/**
|
||||
* Identifier of the underlying input element.
|
||||
*/
|
||||
|
|
|
@ -29384,6 +29384,14 @@
|
|||
"default": "false",
|
||||
"description": "Value in unchecked state."
|
||||
},
|
||||
{
|
||||
"name": "disabled",
|
||||
"optional": true,
|
||||
"readonly": false,
|
||||
"type": "boolean",
|
||||
"default": "false",
|
||||
"description": "When present, it specifies that the component should be disabled."
|
||||
},
|
||||
{
|
||||
"name": "inputId",
|
||||
"optional": true,
|
||||
|
|
Loading…
Reference in New Issue