@stereye/react-native-keyboard-shift
TypeScript icon, indicating that this package has built-in type declarations

1.1.7-beta.0 • Public • Published

react-native-keyboard-shift

This repo is a fork of FullStackCraft/react-native-keyboard-shift . Tested on React Native 0.68+.

GitHub license npm version PRs Welcome

Usage In Your Project

Install and save this package as a dependency:

npm install --save @stereye/react-native-keyboard-shift

Import and use the KeyboardShift component:

import '@stereye/react-native-keyboard-shift'
// other imports

export default function YourCoolKeyboardScreen () {

    // Other logic, variables, etc.

    return (
        <KeyboardShift>
            {/* Screen components */}
        </KeyboardShift>
    )
}

Compile and Develop

  1. Clone this repo:
git clone https://github.com/stereye/react-native-keyboard-shift
  1. Move into the example folder:
cd react-native-keyboard-shift/example
  1. Install dependencies:
npm install
  1. Start Metro
npm start
  1. Start Android or iOS
npm run android
# -or- iOS
npm run ios

Enjoy the juicy keyboard shifty-ness!

ANOTHER Keyboard Shifting Component?!

See the original blog post that led to the creation of this library for more information.

Package Sidebar

Install

npm i @stereye/react-native-keyboard-shift

Weekly Downloads

5

Version

1.1.7-beta.0

License

MIT

Unpacked Size

6.36 kB

Total Files

6

Last publish

Collaborators

  • wtlyu