Keyboard Spacer
// ... src/containers/pokedex.js
import {
StyleSheet,
View,
ListView,
Platform,
} from 'react-native';
const Spacer = Platform.OS === 'ios' ? <KeyBoardSpacer /> : null;
/* Add our new Spacer just below our SearchBar Component */
<SearchBar onChange={ filter } value={ query } />
{Spacer}Last updated
Was this helpful?