1.0.1 • Published 5 years ago

react-native-interaction-keyboard v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

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

PropTypeDescription
contentContainerStyleanyThese styles will be applied to the scroll view content container which wraps all of the child views
scrollRefsFuncCatch the reference of the ScrollView component
usingScrollViewbooleanDisable/ enable ScrollView default is true