This component will automatically adjust the screen to remain the focused input visible while the virtual keyboard is displayed.
npm install react-native-input-keyboardThis component will automatically adjust the screen to remain the focused input visible while the virtual keyboard is displayed.

``shell`
expo install react-native-input-keyboard
`shell`
npm install react-native-input-keyboardOR
yarn add react-native-input-keyboardOR
pnpm add react-native-input-keyboard
`js
import { TextInput } from 'react-native';
import InputKeyboard from 'react-native-input-keyboard';
function Screen() {
return (
{/ ... /}
{/ ... /}
)
}
`
Inherits View Props.
| Prop | Type | Default | Description |
|-----------|------------|--------------------|----------------------------------------------------------|
| enabled | boolean | true | Enable or disable the component behaviors. |offset
| | number | 0 | This is the distance between the input and the keyboard. |onPress
| | function | Keyboard.dismiss` | The behavior when users press outside the input. |