import { FormControl, FormField, FormItem, FormLabel, FormMessage, SelectBox } from "@common/business_components"; import { Input } from "@common/components"; type typeOfForm ={ labelName: string; type: string; selectvlaue?: { text: string; val: string }[]; placeholder:any formName: string; } export function IteraterFrom(formData:typeOfForm[],form:any , colSpanValue:string){ return ( <> {formData.map((data: typeOfForm, index) => ( ( {data.labelName} {data.selectvlaue == undefined ? ( ) : ( )} )} /> ))} ); };