Skip to content

Commit

Permalink
Update README.md to include 'valueComponent' prop
Browse files Browse the repository at this point in the history
(edited with suggested changes made)
  • Loading branch information
lstuartfry authored Jun 21, 2017
1 parent 5a632b2 commit aa6f207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ function onInputKeyDown(event) {
| loadingPlaceholder | string\|node | 'Loading...' | label to prompt for loading search result |
| tabSelectsValue | bool | true | whether to select the currently focused value when the `[tab]` key is pressed |
| value | any | undefined | initial field value |
| valueComponent | func | undefined | function that returns a user-created component to render in the value field `() => <CustomComponent ... />` |
| valueComponent | func | <ValueComponent /> | function that returns a custom way to render/manage the value selected `() => <CustomValue />` |
| valueKey | string | 'value' | the option property to use for the value |
| valueRenderer | func | undefined | function which returns a custom way to render the value selected `function (option) {}` |

Expand Down

0 comments on commit aa6f207

Please sign in to comment.