Permalink
Browse files

add missing KeyboardAvoidingView documentation

Summary: Closes #9667

Differential Revision: D3791743

Pulled By: hramos

fbshipit-source-id: 823bf44028d8fb01f13510753362b8da3692f936
  • Loading branch information...
1 parent 2e8d027 commit 0a1d7280eb5f50fed6b44b1b5244dedc22739f01 @skv-headless skv-headless committed with Facebook Github Bot 3 Aug 30, 2016
Showing with 5 additions and 0 deletions.
  1. +4 −0 Libraries/Components/Keyboard/KeyboardAvoidingView.js
  2. +1 −0 website/server/extractDocs.js
@@ -47,6 +47,10 @@ type LayoutEvent = {
const viewRef = 'VIEW';
+/**
+ * It is a component to solve the common problem of views that need to move out of the way of the virtual keyboard.
+ * It can automatically adjust either its position or bottom padding based on the position of the keyboard.
+ */
const KeyboardAvoidingView = React.createClass({
mixins: [TimerMixin],
@@ -489,6 +489,7 @@ const components = [
'../Libraries/Components/DatePicker/DatePickerIOS.ios.js',
'../Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js',
'../Libraries/Image/Image.ios.js',
+ '../Libraries/Components/Keyboard/KeyboardAvoidingView.js',
'../Libraries/CustomComponents/ListView/ListView.js',
'../Libraries/Components/MapView/MapView.js',
'../Libraries/Modal/Modal.js',

0 comments on commit 0a1d728

Please sign in to comment.