form-base.model.d.ts 551 B

12345678910111213141516171819202122232425
  1. export interface FormOptionBase {
  2. key: any;
  3. label: string;
  4. icon?: string;
  5. }
  6. export declare class FormBase<T> {
  7. value: T | undefined;
  8. key: any;
  9. label: string;
  10. icon: string;
  11. placeholder: string;
  12. required: boolean;
  13. controlType: string;
  14. options: FormOptionBase[];
  15. constructor(options?: {
  16. value?: T;
  17. key?: any;
  18. label?: string;
  19. icon?: string;
  20. required?: boolean;
  21. placeholder?: string;
  22. controlType?: string;
  23. options?: FormOptionBase[];
  24. });
  25. }