Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
style={{
height: adjacentRowHighlighted ? 4 : 1,
backgroundColor: adjacentRowHighlighted ? '#3B5998' : '#CCCCCC',
}}
/>
);
}
Hits.propTypes = {
hits: PropTypes.array.isRequired,
refine: PropTypes.func.isRequired,
hasMore: PropTypes.bool.isRequired,
};
const ConnectedHits = connectInfiniteHits(Hits);
const ConnectedStats = connectStats(({ nbHits }) => (
));
const ConnectedSortBy = connectSortBy(
({ refine, items, currentRefinement }) => {
const icon =
Platform.OS === 'ios' ? (
) : (