I was trying to change the language of the default parameters of my DataGrid MUI parameters and for some reason I'm getting an error when I try to add the localeText I'm following the exact instructions from their resource page, Locale Text
This is the error it shows:
This is what I'm doing (just adding relevant code):
import { DataGrid, esES} from '@mui/x-data-grid';
<DataGrid
localeText={esES.props.MuiDataGrid.localeText}
rows={estudiantes}
columns={columns}
autoPageSize
/>

