react-native-interaction-keyboard
v1.0.1
Published
Fix bug react native keyboard
Downloads
9
Maintainers
Readme
Introduce
The component that handles keyboard with ScrollView, it's make them work perfect
Installation
Installation can be done through npm
or yarn
:
npm i react-native-interaction-keyboard --save
yarn add react-native-interaction-keyboard
Usage
Import react-native-interaction-keyboard
and wrap your content inside
it:
import InteractionKeyboard from 'react-native-interaction-keyboard'
<InteractionKeyboard>
// your component
</InteractionKeyboard>
Props
| Prop | Type | Description |
| --------------------------- | -------------------------------- | ---------------------------------------------------------------------------------------------- |
| contentContainerStyle
| any
| These styles will be applied to the scroll view content container which wraps all of the child views|
| scrollRefs
| Func
| Catch the reference of the ScrollView component|
| usingScrollView
| boolean
| Disable/ enable ScrollView default is true|