import { IAttributes } from "./IAttributes"; import { IElement } from "./IBase"; export interface IForm extends IElement { key?: string; attributes?: IAttributes; fields?: IField[]; } export interface IField extends IElement { key?: string; value?: string; label?: ILabel; input?: IInput; attributes?: IAttributes; } export interface IInput extends IElement { key?: string; value?: string; type?: string; datatype?: string; placeholder?: string; required?: boolean; attributes?: IAttributes; } export interface ILabel extends IElement { text?: string; attributes?: IAttributes; }