react native keyboard spacer view

A quick way and easy to wrapper your components above your keyboard

5
0
JavaScript

react-native-keyboard-spacer-view

npm version npm total downloads

Installation

npm install react-native-keyboard-spacer-view --save

Usage

import KeyboardSpaceView from 'react-native-keyboard-spacer-view';


<KeyboardSpaceView>
  <View>
    <TextInput/>
    <Button title='Send'/>
  </View>
</KeyboardSpaceView>

IOS View Example

Expo Snack Example

https://snack.expo.io/@eriveltonelias/react-native-keyboard-spacer-view

Props

Prop Type Default Description
extraSpace number 0 Extra space between the keyboard and your View.