Added type definition for disabled prop (#4546)

This commit is contained in:
navedqb 2023-10-05 19:03:45 +05:30 committed by GitHub
parent fe3387c89b
commit 544aa37841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -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.
*/