Skip to content

Commit

Permalink
Update options in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameistechno authored Jun 23, 2018
1 parent fdd710b commit 412dbfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ See the examples for more [details](example).
Option | Type |Description
-------|------|-----------
`className`| Object | Override the [default classnames](https://github.com/mynameistechno/finderjs/blob/master/index.js#L14) by populating this object
`labelKey`| string | Override the data key used to render labels. Defaults to `label`.
`childKey`| string | Override the data key used to populate children. Defaults to `children`.
`createItemContent` | Function | Define how each item is rendered. The first parameter passed in is the `config` object and the second is the `item` object that is currently being iterated on. It should return an HTML Element.

## Project commands
Expand Down

0 comments on commit 412dbfc

Please sign in to comment.