mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
refactor(web/dialog): Separate fields into individual components
This commit is contained in:
11
web/src/interfaces/dialog.ts
Normal file
11
web/src/interfaces/dialog.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
||||
|
||||
type RowType = "input" | "checkbox" | "select";
|
||||
|
||||
export interface Row {
|
||||
type: RowType;
|
||||
label: string;
|
||||
options?: { value: string; label: string }[];
|
||||
password?: boolean;
|
||||
icon?: IconProp;
|
||||
}
|
||||
Reference in New Issue
Block a user