Skip to content

Commit

Permalink
Update keyboard example.md (#259)
Browse files Browse the repository at this point in the history
* Update keyboard.md

* Update keyboard.md
  • Loading branch information
moskh authored and charpeni committed Mar 20, 2018
1 parent 3d7ac14 commit f95c657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import React, { Component } from 'react';
import { Keyboard, TextInput } from 'react-native';
class Example extends Component {
componentWillMount () {
componentDidMount () {
this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow);
this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide);
}
Expand Down

0 comments on commit f95c657

Please sign in to comment.