no "window" in react native
Summary: There is no "window" in react native. And by the way fix the indent. Closes https://github.com/facebook/react-native/pull/10182 Differential Revision: D3974090 Pulled By: javache fbshipit-source-id: e0e47e15364abff5bcb136d988e234fc8e1f0a8b
This commit is contained in:
parent
9a7e4b4902
commit
1941450649
|
@ -43,11 +43,11 @@ const KeyboardEventEmitter = new NativeEventEmitter(KeyboardObserver);
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* _keyboardDidShow () {
|
* _keyboardDidShow () {
|
||||||
* window.alert('Keyboard Shown');
|
* alert('Keyboard Shown');
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* _keyboardDidHide () {
|
* _keyboardDidHide () {
|
||||||
* window.alert('Keyboard Hidden');
|
* alert('Keyboard Hidden');
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* render() {
|
* render() {
|
||||||
|
|
Loading…
Reference in New Issue