Files
ox_lib/web/src/interfaces/dialog.ts

15 lines
346 B
TypeScript
Raw Normal View History

import { IconProp } from "@fortawesome/fontawesome-svg-core";
2022-06-19 14:57:03 +02:00
type RowType = "input" | "checkbox" | "select" | "number";
export interface Row {
type: RowType;
label: string;
placeholder?: string;
default?: string | number;
checked?: boolean;
options?: { value: string; label?: string }[];
password?: boolean;
icon?: IconProp;
}