Clean up interfaces and classname
This commit is contained in:
parent
8a0e4a4954
commit
52c7577972
3 changed files with 26 additions and 28 deletions
|
@ -23,14 +23,14 @@ import StyledCheckbox from "./StyledCheckbox";
|
|||
|
||||
interface IProps {
|
||||
// The setting must be a boolean
|
||||
name: string,
|
||||
level: string,
|
||||
roomId?: string, // for per-room settings
|
||||
label?: string, // untranslated
|
||||
isExplicit?: boolean,
|
||||
name: string;
|
||||
level: string;
|
||||
roomId?: string; // for per-room settings
|
||||
label?: string; // untranslated
|
||||
isExplicit?: boolean;
|
||||
// XXX: once design replaces all toggles make this the default
|
||||
useCheckbox?: boolean,
|
||||
onChange?(checked: boolean): void,
|
||||
useCheckbox?: boolean;
|
||||
onChange?(checked: boolean): void;
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue