From 0e5f9efd34e768931b6b71d561c1e36d9d2ffae5 Mon Sep 17 00:00:00 2001 From: Miranda Date: Thu, 1 Mar 2018 12:52:31 +0100 Subject: [PATCH 1/4] Removed template from list of props. Template is not actually a prop. This functionality is already provided by onShouldRenderChild. --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 6e582e0..26f8c13 100644 --- a/README.md +++ b/README.md @@ -182,9 +182,6 @@ Number of milliseconds the user should stop typing for before the request is sen #### process (Function) Function to process the API result with. Should return an array of entries or an object whose properties can be enumerated. -#### template (Function) -Function to process each result with. Takes the type of an API reply element and should return HTML data. - ## Callback Events You can make a callback event via props. From caee5faf055e901c2355aaf320cb767780a87401 Mon Sep 17 00:00:00 2001 From: Miranda Date: Thu, 1 Mar 2018 12:58:20 +0100 Subject: [PATCH 2/4] Fixed typo classes props. Removed item from available parts. Item is not an available part of classes prop. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 26f8c13..570ba5d 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ Placeholder for input Custom class name for autocomplete component #### classes (Object) -Spesific custom class for each part. available: wrapper, input, list, and item +Specific custom class for each part. available: wrapper, input, list #### id (String) Custom id name for autocomplete component From b3c6b389d2ede212f26f2c88c4780ece6ef2d2b8 Mon Sep 17 00:00:00 2001 From: Miranda Date: Thu, 1 Mar 2018 13:01:59 +0100 Subject: [PATCH 3/4] Document customParams prop. It was missing. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 570ba5d..951277b 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,9 @@ Number of milliseconds the user should stop typing for before the request is sen #### process (Function) Function to process the API result with. Should return an array of entries or an object whose properties can be enumerated. +#### customParams (Object) +Object of key value pairs to be send along with the request as query parameters. + ## Callback Events You can make a callback event via props. From 74be390d6af0d112f026fe81a040e2413404c1a5 Mon Sep 17 00:00:00 2001 From: Miranda Date: Thu, 1 Mar 2018 13:03:28 +0100 Subject: [PATCH 4/4] Document customHeaders. It was missing. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 951277b..82eba30 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,9 @@ Function to process the API result with. Should return an array of entries or an #### customParams (Object) Object of key value pairs to be send along with the request as query parameters. +#### customHeaders (Object) +Object of key value pairs with custom headers to be sent along with the request. + ## Callback Events You can make a callback event via props.