Files
react-test/docs/data/material/components/autocomplete/ComboBox.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
372 B
TypeScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import TextField from '@mui/material/TextField';
import Autocomplete from '@mui/material/Autocomplete';
import top100Films from './top100Films';
export default function ComboBox() {
return (
<Autocomplete
disablePortal
options={top100Films}
sx={{ width: 300 }}
renderInput={(params) => <TextField {...params} label="Movie" />}
/>
);
}