UNPKG

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