1.1.0 • Published 8 years ago

algolia-react-input v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

algolia-react-input

npm license github-issues

nodei.co

A simple react input component to query your algolia index

Demo : http://revolunet.github.io/algolia-react-input/#/example1

Usage

const algoliaClient = algoliasearch('APPLICATION_ID', 'SEARCH_ONLY_API_KEY');
const algoliaOptions = {
  hitsPerPage: 200
};

return <AlgoliaInput
  client={ algoliaClient }
  index='Products'
  options= { algoliaOptions }
  onResults={ this.onResults }
  onError={ this.onError }
  placeholder='Product Search...'
/>;

See complete example in ./docs/app.js

Contributing

Contributions welcome; Please submit all pull requests the against master branch. If your pull request contains JavaScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!

Author

License

1.1.0

8 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.4

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago