import React, { forwardRef } from "react"; import { useTheme } from '@mui/material/styles'; import { StyledTextArea } from "./styles"; interface TextFieldProps{ name ?: string, placeholder ?: string, value ?: string, minRows ?: any, onChange ?: (event : React.ChangeEvent) => void, onFocus ?: (event : React.FocusEvent) => void, onBlur ?: (event : React.FocusEvent) => void, sx?:any } const TextArea = forwardRef((props : TextFieldProps)=>{ const theme = useTheme(); let inputRef; const { name, placeholder, value, minRows, onChange = () => {/* */}, onFocus = () => {/* */}, onBlur = () => {/* */}, sx } = props; return }) export default TextArea;