chore(web): add prettier and format

This commit is contained in:
Luke
2022-08-27 15:58:36 +02:00
parent cc76d23419
commit 4a5251b60b
44 changed files with 2933 additions and 1984 deletions

View File

@@ -1,7 +1,7 @@
import { IconProp } from "@fortawesome/fontawesome-svg-core";
import { IconProp } from '@fortawesome/fontawesome-svg-core';
export interface IInput {
type: "input",
type: 'input';
label: string;
placeholder?: string;
default?: string;
@@ -10,27 +10,29 @@ export interface IInput {
}
export interface ICheckbox {
type: "checkbox",
type: 'checkbox';
label: string;
checked?: boolean;
}
export interface ISelect {
type: "select",
type: 'select';
label: string;
default?: string;
options?: { value: string; label?: string }[];
}
export interface INumber {
type: "number",
type: 'number';
label: string;
placeholder?: string;
default?: number;
min?: number;
max?: number;
}
export interface ISlider {
type: "slider",
type: 'slider';
label: string;
default?: number;
min?: number;