Skip to content

Commit

Permalink
Add item object extra options info
Browse files Browse the repository at this point in the history
  • Loading branch information
renrizzolo authored Oct 14, 2019
1 parent d2f635e commit 04a2421
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ Any child items of that item should be in `subKey`, and they will have `uniqueKe

Sub categories are optional, there's no need to have `subKey` items if you don't want to.

You can also pass in extra options to individual items:

- `disabled: true` - the item will be disabled
- Icons: the component prop `iconKey` is the name of the property that individual item icons will be derived from. E.g `icon: {uri: ...}`. See full example [here](https://github.com/renrizzolo/react-native-sectioned-multi-select/blob/master/Recipes.md#item-icons)


## Props

Props, there are lots.
Expand Down

0 comments on commit 04a2421

Please sign in to comment.