From b894d98da010e1eabc7b0236e6838b1b269a9574 Mon Sep 17 00:00:00 2001 From: Julian Krispel-Samsel Date: Wed, 7 Sep 2016 13:21:45 +0100 Subject: [PATCH] Add undocumented arguments for menuRenderer cc @JedWatson --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index db0e3c836e..49895f046e 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,9 @@ The custom `menuRenderer` property accepts the following named parameters: | focusedOption | `Object` | The currently focused option; should be visible in the menu by default. | | focusOption | `Function` | Callback to focus a new option; receives the option as a parameter. | | labelKey | `String` | Option labels are accessible with this string key. | +| optionClassName | `String` | The className that gets used for options | +| optionComponent | `ReactClass` | The react component that gets used for rendering an option | +| optionRenderer | `Function` | The function that gets used to render the content of an option | | options | `Array` | Ordered array of options to render. | | selectValue | `Function` | Callback to select a new option; receives the option as a parameter. | | valueArray | `Array` | Array of currently selected options. |