I’m using React. This is the version of the material-ui and I do not update want to update to material-ui v5 since most of what I’m working on is written in v4
This is my package.json file
https://i.stack.imgur.com/4thNp.png
It says that Autocomplete’ is not exported from ‘@material-ui/core’. This is how I imported it:
import { Grid, Card, makeStyles, CardHeader, CardContent, TextField, Autcomplete } from “@material-ui/core”;
This is also the sample Autocomplete that I plan to use:
<Autocomplete disablePortal id=”combo-box-demo” options={top100Films} sx={{ width: 300 }} renderInput={(params) => <TextField {…params} label=”Movie” />} />
I also posted this on: https://stackoverflow.com/questions/70108041/material-ui-autocomplete-not-being-recognized
submitted by /u/JenJennie127
[link] [comments]