import { Box, TextField } from '@mui/material'; import Typography from '@mui/material/Typography'; import React from 'react'; const TextFieldWithDesc = ({ description, value, onChange, placeholder }: { description: string; value: string; onChange: (value: string) => void; placeholder?: string; }) => { return ( onChange(event.target.value)} /> {description} ); }; export default TextFieldWithDesc;