Skip to content

Commit

Permalink
Added type definition for disabled prop (#4546)
Browse files Browse the repository at this point in the history
  • Loading branch information
navedqb authored Oct 5, 2023
1 parent fe3387c commit 544aa37
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/lib/inputswitch/InputSwitch.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
8 changes: 8 additions & 0 deletions doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 544aa37

Please sign in to comment.