blob: 6bc20f5e12bac7526b5e475abb8523081b30d26d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
export interface FormFieldOptions {
value?: string;
label?: string;
disabled?: boolean;
}
export interface FormFields {
fields: {
[key: string]: {
label?: string;
placeholder?: string;
options?: FormFieldOptions[];
value?: string | boolean | number | null;
default?: string | boolean | number | null;
type?: string; // todo specifiy probably
disabled?: boolean;
validators?: any; // Not sure yet.
};
};
}
|