Simple UI autocomplete with material-UI, styled-component.
npm i --save simple-ui-autocomplete
import { AutoComplete } from 'simple-ui-autocomplete'
<AutoComplete
list={[]} // Array should have id, name and logo if waht to display icon
changed={(item) =>}
label='Simple ui autocomplete'
multiple={true}
value={[]} // default values [] - if multiple true, '' - if multiple false,
clearable={false}
noOptionsText='List is empty'
size='medium' // options 'small', 'medium', 'large'
variant='outlined' // options 'outlined'
autoComplete='never-on'
error={false}
className='myClass'
/>
Make sure that your project has all these packages installed.
npm i @material-ui/core@4.11.3
npm i @material-ui/lab@4.0.0-alpha.57
npm i styled-components@5.2.1
Nimesh Deuja