From ff2ff0e2ae4e36b2796791b0a46f32b25b1f82e3 Mon Sep 17 00:00:00 2001 From: Maxime Ghignet Date: Fri, 23 Dec 2016 18:35:57 +0100 Subject: [PATCH] chore: update README with new feature --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fa5ca3..10ad9f3 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,14 @@ export default { // Override the default value (`q`) of query parameter name // Use a falsy value for RESTful query // (optional) - queryParamName: 'search' + queryParamName: 'search', + + // Override the 'src' prop and rather use your own fetching function + // Useful for authentication, custom headers, etc... + // (optional) + fetchFunction: function(input) { + // Fetch the result here and return an array of items + } } },