Skip to content

Commit

Permalink
Add renderContainer prop to FilterResults
Browse files Browse the repository at this point in the history
  • Loading branch information
jdlehman committed Aug 1, 2016
1 parent 2208085 commit b2d5866
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,7 @@ Collection of fuzzy filtered items (filtered by the `InputFilter`'s value), each
### wrapperProps

`wrapperProps` is an optional object containing additional props to be passed to the `wrapper`.

### renderContainer

`renderContainer` is an alternative to using `wrapper` and `wrapperProps`. It is a function that is used as the render function for `FilterResults`. It receives an array of React elements (the items after they have already been transformed by `renderItem`, and should return a React element.
Loading

0 comments on commit b2d5866

Please sign in to comment.