Reorder interfaces
This commit is contained in:
parent
c9d5ed4d00
commit
9034889414
1 changed files with 10 additions and 7 deletions
|
@ -34,6 +34,16 @@ import { IValidationResult, IFieldState } from '../../../elements/Validation';
|
||||||
interface IProps {
|
interface IProps {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface IThemeState {
|
||||||
|
theme: string,
|
||||||
|
useSystemTheme: boolean,
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CustomThemeMessage {
|
||||||
|
isError: boolean,
|
||||||
|
text: string
|
||||||
|
};
|
||||||
|
|
||||||
interface IState extends IThemeState {
|
interface IState extends IThemeState {
|
||||||
// String displaying the current selected fontSize.
|
// String displaying the current selected fontSize.
|
||||||
// Needs to be string for things like '17.' without
|
// Needs to be string for things like '17.' without
|
||||||
|
@ -44,13 +54,6 @@ interface IState extends IThemeState {
|
||||||
useCustomFontSize: boolean,
|
useCustomFontSize: boolean,
|
||||||
}
|
}
|
||||||
|
|
||||||
export type CustomThemeMessage = {isError: boolean, text: string};
|
|
||||||
|
|
||||||
interface IThemeState {
|
|
||||||
theme: string,
|
|
||||||
useSystemTheme: boolean,
|
|
||||||
}
|
|
||||||
|
|
||||||
export default class AppearanceUserSettingsTab extends React.Component<IProps, IState> {
|
export default class AppearanceUserSettingsTab extends React.Component<IProps, IState> {
|
||||||
|
|
||||||
private themeTimer: NodeJS.Timeout;
|
private themeTimer: NodeJS.Timeout;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue