From acf66b7d31059faf047a0d49b13572b9048b86a0 Mon Sep 17 00:00:00 2001 From: Eric Giovanola Date: Mon, 12 Feb 2018 00:13:29 -0800 Subject: [PATCH] Update API.md --- docs/API.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/API.md b/docs/API.md index 82223fe3..71c6926c 100644 --- a/docs/API.md +++ b/docs/API.md @@ -21,16 +21,16 @@ The primary component provided by the module. #### Props -##### `filterBy: Array | Function` +##### `filterBy: Array|Function` See full documentation in the [Filtering section](Filtering.md#filterby-arraystring--function). -##### `labelKey: String | Function` +##### `labelKey: String|Function` See full documentation in the [Rendering section](Rendering.md#labelkey-string--function). ##### `renderMenu: Function`, `renderMenuItemChildren: Function`, and `renderToken: Function` See full documentation in the [Rendering section](Rendering.md#rendermenuresults-arrayobject--string-menuprops-object). -##### `onChange(selected: Array)` +##### `onChange(selected: Array)` Invoked when the set of selections changes (ie: an item is added or removed). For consistency, `selectedItems` is always an array of selections, even if multi-selection is not enabled. ##### `onInputChange(text: String)`