
import {
  TextField,
} from '@mui/material';
export const StyledTextField = ({ error, helperText, disabled, ...props }) => (
  <TextField
    className="fullWidth"
    size="small"
    error={!!error}
    helperText={helperText || error}
    disabled={disabled}
    sx={{
      width: '100%',
      '& .MuiInputBase-root': {
        height: '2.69rem',
      },
    }}
    {...props}
  />
);