Skip to content

Easy auto-scrollable KeyboardAvoidingView for React Navigation working on Android

Notifications You must be signed in to change notification settings

pedrobullo/react-navigation-keyboard-avoidingview

Repository files navigation

React Navigation Easy KeyboardAvoidingView

This is a lightweight package for scrollable content running with React Navigation.

Installation

  • TODO

Properties

Usage

Component

import { KeyboardAvoidingView } from '...'

export MyScreen = () => {
  return (
  <KeyboardAvoidingView keyboardVerticalOffset={10}>
    ...
    <View />
    ...
  </KeyboardAvoidingView>
  )
}

HOC

import { withKeyboardAvoidingView } from "...";

const MyScreen = () => {
  return <View />;
};

export default withKeyboardAvoidingView(MyScreen, {
  keyboardVerticalOffset: 10,
});

About

Easy auto-scrollable KeyboardAvoidingView for React Navigation working on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published