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