import { Control, FieldErrors, UseFormSetValue, UseFormWatch } from 'react-hook-form'; import { OrganizationFormData } from '@/types.ts'; import { useTranslation } from '@/hooks/useI18n.tsx'; import FormField from '@/components/form/FormField.tsx'; import ImageGallery from '@/components/ui/ImageGallery.tsx'; import ImageUpload from '@/components/ui/ImageUpload.tsx'; import { BasicInfoSection } from '@/components/add-organization/steps/BasicInfoSection.tsx'; import { LocationSection } from '@/components/add-organization/steps/LocationSection.tsx'; import { TagsSection } from '@/components/add-organization/steps/TagsSection.tsx'; interface Step1Props { control: Control; errors: FieldErrors; watch: UseFormWatch; setValue: UseFormSetValue; generateDescription: (payload: [string, string, string]) => void; isGenerating: boolean; } const Step1 = ({ control, errors, watch, setValue, generateDescription, isGenerating, }: Step1Props) => { const { t } = useTranslation(); return (
{/* Basic Information */} {/* Location */} {/* Tags and Business Focus */} {/* Logo Upload */}

{t('organization.logo')}

{/* Gallery Images */}

{t('organization.galleryImages')}

void }) => ( )} />

{t('organization.galleryImagesHint')}

); }; export default Step1;