muishift
v1.1.4
Published
Muishift React component
Downloads
240
Maintainers
Readme
muishift
Thin Material UI layer over downshift. Demo
Props
Property | Type | Required | Description
-------- | ---- | -------- | -----------
items
| Array | ✓ | Items that will be shown in menu
temToString
| Function | | Functions to get string value of item
renderInput
| Function | | Functions to render Input
renderSuggestion
| Function | | Functions to render single Suggestion
getFilteredItems
| Function | | Functions to get filtered items
renderMenu
| Function | | Functions to render Menu
matchSorterProps
| Object | | Properties for the matchSorter
inputProps
| Object | | inputProps that will be spread into the TextField of the default Input
all downshift
props | | | all props that can be send to downshift