a multi (or single) select component with support for sub categories, search, chips.
Remove console.log
statement that was left in by accident.
Also upgraded some packages and added some consistent linting/formatting.
Various types fixes
ReactNode
. #253icons
individual icon objects are now optional and allow any extra properties you wish to be added to your icon component. #253 #232Fix TypeError: undefined is not an object (evaluating 'item[subKey]') with unpopulated items. #237
Merge pull request #219 from Kjaer/master fix: Android setLayoutAnimationEnabledExperimental
This minor version addresses issues with icons.
icons
prop is an object that maps the names and sizes used for the icons (all properties are spread onto the IconRenderer
). In conjunction with IconRenderer
you can now easily switch out the icon library. See Icons section of Readme.IconRenderer
is now required (also note the casing change). The lib no longer depends on react-native-vector-icons
. For the default Material Icons icon set, you must import Icon from react-native-vector-icons/MaterialIcons
yourself, and pass that to theIconRenderer
prop. See Icons section of Readme.Updated types definition file