simple-ui-autocomplete
v1.0.4
Published
Simple ui autocomplete width meterial-ui
Downloads
129
Readme
simple-ui-autocomplete
Simple UI autocomplete with material-UI, styled-component.
Install
npm i --save simple-ui-autocomplete
Usage
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'
/>
Peer Dependencies
Make sure that your project has all these packages installed.
npm i @material-ui/[email protected]
npm i @material-ui/[email protected]
npm i [email protected]
Author
Nimesh Deuja