5105c09f56
Summary: They keyboard module is an instance of `NativeEventEmitter` which is an instance of `EventEmitter`. But the exported module only has a small subset of the APIs. This broke existing codebases which are using the methods not exported currently. The PR just reassigns the variable before exporting so that the actual module is exported instead of the dummy object used for documentation. It also fixes a layout issue in the documentation. Closes https://github.com/facebook/react-native/pull/10671 Differential Revision: D4110355 fbshipit-source-id: a6757f3ca8c2494970ba221b10a7e6e9a5f2d64d |
||
---|---|---|
.. | ||
Keyboard.js | ||
KeyboardAvoidingView.js |