bind html with switch for manage extension setting (#10553)

option

Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com>
This commit is contained in:
Neeraj Vageele 2023-04-11 10:43:52 +05:30 committed by GitHub
parent 3f60ccabcb
commit 99a375e354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -35,6 +35,9 @@ interface IProps {
// Called when the checked state changes. First argument will be the new state.
onChange(checked: boolean): void;
// id to bind with other elements
id?: string;
}
// Controlled Toggle Switch element, written with Accessibility in mind