CustomFormTypes.uts
371 Bytes
export type CustomFormFieldType = "input" | "picker" | "textarea" | "radio" | "checkbox";
export type CustomFormOption = {
label: string
value: string
}
export type CustomFormItem = {
key: string
label: string
type: CustomFormFieldType
inputType?: string
placeholder?: string
required?: boolean
message?: string
full?: boolean
options?: CustomFormOption[]
}