import { AbstractControl } from '@angular/forms'; import { FormItem } from '../models'; /** * The Basic setup for a FormItem. Any dynamic components to be rendered should * implement this interface to ensure they contain the necessary inputs. * * @prop control - AbstractControl * @prop item - FormItem * @prop readonly - boolean */ export interface BaseFormItem { control: AbstractControl; item: FormItem; readonly: boolean; }