Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { createInstantSearch } from 'react-instantsearch-core';
const InstantSearch = createInstantSearch({
Root: 'div',
props: {
className: 'ais-InstantSearch__root',
},
});
export default InstantSearch;
import { View } from 'react-native';
import { createInstantSearch } from 'react-instantsearch-core';
const InstantSearch = createInstantSearch({
Root: View,
});
export default InstantSearch;