diff --git a/Libraries/Components/Keyboard/KeyboardAvoidingView.js b/Libraries/Components/Keyboard/KeyboardAvoidingView.js index 3e56ec002..312557321 100644 --- a/Libraries/Components/Keyboard/KeyboardAvoidingView.js +++ b/Libraries/Components/Keyboard/KeyboardAvoidingView.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], diff --git a/website/server/extractDocs.js b/website/server/extractDocs.js index ba0a41ecc..258633c00 100644 --- a/website/server/extractDocs.js +++ b/website/server/extractDocs.js @@ -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',