Skip to content

Commit

Permalink
improved readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Schmidt committed Jan 13, 2016
1 parent d3ea21f commit 8ac19c7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
## react-native-dismiss-keyboard ![CircleCi](https://circleci.com/gh/DanielMSchmidt/react-native-dismiss-keyboard.png?circle-token=905f7ed099611e3f8079a5bf72674beab5e55e50)
## react-native-dismiss-keyboard ![CircleCi](https://circleci.com/gh/DanielMSchmidt/react-native-dismiss-keyboard.png?circle-token=905f7ed099611e3f8079a5bf72674beab5e55e50) [![npm version](https://badge.fury.io/js/react-native-dismiss-keyboard.svg)](https://badge.fury.io/js/react-native-dismiss-keyboard)

A simple way to dismiss the keyboard programmatically in a react native application.
A simple way to dismiss the keyboard programmatically in a react native application. [A demo app can be fond here](https://github.com/DanielMSchmidt/DismissKeyboardExample).

## Add it to your project

1. Run `npm install react-native-dismiss-keyboard --save`
2. `var dismissKeyboard = require('react-native-dismiss-keyboard');`
2. Import the library
- `var dismissKeyboard = require('react-native-dismiss-keyboard');`
- `import dismissKeyboard from 'react-native-dismiss-keyboard';`
3. Run `dismissKeyboard()` anywhere in your code to close the keyboard.

## Support
Expand Down

0 comments on commit 8ac19c7

Please sign in to comment.