/** * Location Section for Organization Creation * Handles location/map selection and coordinates * Separated from main Step1 component for better SRP */ import React from 'react'; import { Control, FieldErrors, UseFormWatch, UseFormSetValue } from 'react-hook-form'; import { OrganizationFormData } from '@/types.ts'; import { useTranslation } from '@/hooks/useI18n.tsx'; import FormField from '@/components/form/FormField.tsx'; import Input from '@/components/ui/Input.tsx'; import MapPicker from '@/components/ui/MapPicker.tsx'; interface LocationSectionProps { control: Control; errors: FieldErrors; watch: UseFormWatch; setValue: UseFormSetValue; } export const LocationSection: React.FC = ({ control, errors, watch, setValue, }) => { const { t } = useTranslation(); return (
); };