a multi (or single) select component with support for sub categories, search, chips.
modalWrapper
wraps the modal and backdrop
is the backdrop view inside it.iconRenderer
prop. Material Icons is no longer required to be installed fo the lib to work. You can pass iconRenderer
your own icon component function.modalWithTouchable
taking touches from select list. The backdrop view is now absolutely positioned & a sibling of the list (instead of being the parent of the list).parentChipsRemoveChildren
boolean prop. If true, pressing a parent chip's remove button will remove all of its selected children.parentChipContainer
and parentChipText
to styles, so you can style parent item chips differently.selectedIconOnLeft
boolean prop. If true, selected icons show to the left of the text. #104selectedSubItem
to stylesrenderSelectText
can now return a component or a string.iconKey
, then add the key to your item as either a string (to show a material icons Icon
component by name
), object (to show an image e.g {uri: 'imageUrl' }, or a number (that is returned from require('./localimage.png') )). use style key itemIconStyle
to style the Icon / ImageautoFocus
prop (bool) #86, to autofocus the search input when the modal is opened.