export interface FormDataProps {
  type: string;
  label: string;
  value: any ;
  name: string;
}
interface FormDataParentProps {
  row: FormDataProps[];
}

export type DataType = FormDataProps | FormDataParentProps

interface FormSourceData{
  data: DataType[];
  action:any
}

export interface FormProps {
  formData:FormSourceData;
  read?:boolean
}

export interface IDetailsProps{
  label: string;
  value: any ;
  type: string;
}