Reorder interfaces

This commit is contained in:
Jorik Schellekens 2020-05-28 14:43:01 +01:00
parent c9d5ed4d00
commit 9034889414

View file

@ -34,6 +34,16 @@ import { IValidationResult, IFieldState } from '../../../elements/Validation';
interface IProps {
}
interface IThemeState {
theme: string,
useSystemTheme: boolean,
}
export interface CustomThemeMessage {
isError: boolean,
text: string
};
interface IState extends IThemeState {
// String displaying the current selected fontSize.
// Needs to be string for things like '17.' without
@ -44,13 +54,6 @@ interface IState extends IThemeState {
useCustomFontSize: boolean,
}
export type CustomThemeMessage = {isError: boolean, text: string};
interface IThemeState {
theme: string,
useSystemTheme: boolean,
}
export default class AppearanceUserSettingsTab extends React.Component<IProps, IState> {
private themeTimer: NodeJS.Timeout;