Skip to content

Commit

Permalink
chore: update README with new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mghignet committed Dec 23, 2016
1 parent e53682b commit 54b28fe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
},
Expand Down

0 comments on commit 54b28fe

Please sign in to comment.