Clean up interfaces and classname

This commit is contained in:
Jorik Schellekens 2020-06-10 15:57:28 +01:00
parent 8a0e4a4954
commit 52c7577972
3 changed files with 26 additions and 28 deletions

View file

@ -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 {