react-native-hide-keyboard
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

react-native-hide-keyboard (Android For Now)

A React Native hide keyboard module is for hiding and showing the keyboard without blurring TextInput component.

Installation

npm install react-native-hide-keyboard

or

yarn add react-native-hide-keyboard

Demo

Usage

import { hideKeyboard, showKeyboard } from "react-native-hide-keyboard";

// For hiding Keyboard
const isItHide = await hideKeyboard();
if (isItHide) {
    // Here Keyboard is hide without blurring textInput
}

// For showing keyboard
const isItShow = await showKeyboard();
if (isItShow) {
    // Here keyboard is active/displayed
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-hide-keyboard

Weekly Downloads

23

Version

0.2.3

License

MIT

Unpacked Size

21.1 kB

Total Files

13

Last publish

Collaborators

  • muhammadrafeh