import { Box, FormControl, FormErrorMessage, FormHelperText, FormLabel, Textarea, } from "@chakra-ui/react"; import { Trans } from "@lingui/macro"; import { FieldError } from "react-hook-form"; import LimitProgress from "./LimitProgress"; interface Props { error?: FieldError; fieldName: string; title: string; value: string; maxLength: number; register: any; placeholder?: string; dataCy?: string; } const MarkdownTextarea: React.FC = ({ error, fieldName, title, value, maxLength, register, placeholder, dataCy, }) => { return ( {title}