1 | import { ReactElement } from 'react';
|
2 | export interface GlobalState {
|
3 | name: string | undefined;
|
4 | selected: string | undefined;
|
5 | }
|
6 | export interface BackgroundSelectorItem {
|
7 | id: string;
|
8 | title: string;
|
9 | onClick: () => void;
|
10 | value: string;
|
11 | active: boolean;
|
12 | right?: ReactElement;
|
13 | }
|
14 | export interface Background {
|
15 | name: string;
|
16 | value: string;
|
17 | }
|
18 | export interface BackgroundsParameter {
|
19 | default?: string;
|
20 | disable?: boolean;
|
21 | values: Background[];
|
22 | }
|
23 | export interface BackgroundsConfig {
|
24 | backgrounds: Background[] | null;
|
25 | selectedBackgroundName: string | null;
|
26 | defaultBackgroundName: string | null;
|
27 | disable: boolean;
|
28 | }
|