How to use the react-instantsearch-core.createInstantSearch function in react-instantsearch-core

To help you get started, we’ve selected a few react-instantsearch-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github algolia / react-instantsearch / packages / react-instantsearch-dom / src / widgets / InstantSearch.js View on Github external
import { createInstantSearch } from 'react-instantsearch-core';

const InstantSearch = createInstantSearch({
  Root: 'div',
  props: {
    className: 'ais-InstantSearch__root',
  },
});

export default InstantSearch;
github algolia / react-instantsearch / packages / react-instantsearch-native / src / widgets / InstantSearch.js View on Github external
import { View } from 'react-native';
import { createInstantSearch } from 'react-instantsearch-core';

const InstantSearch = createInstantSearch({
  Root: View,
});

export default InstantSearch;