How to use the react-instantsearch-native.connectHighlight 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 / create-instantsearch-app / src / templates / React InstantSearch Native / src / Highlight.js View on Github external
);
      })}
    
  );
};

Highlight.propTypes = {
  attribute: PropTypes.string.isRequired,
  hit: PropTypes.object.isRequired,
  highlight: PropTypes.func.isRequired,
};

export default connectHighlight(Highlight);

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