import { FormControl, FormLabel, Textarea, FormErrorMessage } from '@chakra-ui/react'; import { TFunction } from 'i18next'; interface NoteFieldProps { form: any; t: TFunction<'translation', undefined, 'translation'>; } export const NoteField = ({ t, form }: NoteFieldProps) => { return ( {t('userDialog.note')}