How to use the react-instantsearch-native.connectRefinementList function in react-instantsearch-native

To help you get started, we’ve selected a few react-instantsearch-native 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 / doc-code-samples / React InstantSearch Native / getting-started / App.js View on Github external
'B1G2GM9NG0',
  'aadef574be1f9252bb48d4ea09b5cfe5'
);

const styles = StyleSheet.create({
  safe: {
    flex: 1,
    backgroundColor: '#252b33',
  },
  container: {
    flex: 1,
    backgroundColor: '#FFFFFF',
  },
});

const VirtualRefinementList = connectRefinementList(() => null);

class App extends React.Component {
  root = {
    Root: View,
    props: {
      style: {
        flex: 1,
      },
    },
  };

  state = {
    isModalOpen: false,
    searchState: {},
  };

react-instantsearch-native

⚡ Lightning-fast search for React Native, by Algolia

MIT
Latest version published 1 year ago

Package Health Score

67 / 100
Full package analysis