0.0.8 • Published 7 months ago

react-native-input-keyboard v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

React Native Input Keyboard

This component will automatically adjust the screen to remain the focused input visible while the virtual keyboard is displayed.

npm version

Installation

Expo

expo install react-native-input-keyboard

Other

npm install react-native-input-keyboard
# OR
yarn add react-native-input-keyboard
# OR
pnpm add react-native-input-keyboard

Usage

import { TextInput } from 'react-native';
import InputKeyboard from 'react-native-input-keyboard';

function Screen() {
    return (
      <InputKeyboard>
        {/* ... */}
        <TextInput />
        {/* ... */}
      </InputKeyboard>
    )
}

Props

Inherits View Props.

PropTypeDefaultDescription
enabledbooleantrueEnable or disable the component behaviors.
offsetnumber0This is the distance between the input and the keyboard.
onPressfunctionKeyboard.dismissThe behavior when users press outside the input.
0.0.8

7 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.29

9 months ago

0.0.28

9 months ago

0.0.27

9 months ago

0.0.26

9 months ago

0.0.25

10 months ago

0.0.24

10 months ago

0.0.22

10 months ago

0.0.21

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago