refactor(web/input): input dialog mantine rewrite

This commit is contained in:
Luke
2022-12-16 15:00:01 +01:00
parent f24e43a1a4
commit c419474969
8 changed files with 108 additions and 168 deletions

View File

@@ -1,4 +1,5 @@
import { IconProp } from '@fortawesome/fontawesome-svg-core';
import { SelectItem } from '@mantine/core';
export interface IInput {
type: 'input';
@@ -23,7 +24,7 @@ export interface ISelect {
type: 'select';
label: string;
default?: string;
options?: { value: string; label?: string }[];
options: Array<SelectItem>;
disabled?: boolean;
description?: string;
}