diff --git a/docs/keyboardavoidingview.md b/docs/keyboardavoidingview.md index dc5be660002..3b40edfd2fe 100644 --- a/docs/keyboardavoidingview.md +++ b/docs/keyboardavoidingview.md @@ -3,7 +3,7 @@ id: keyboardavoidingview title: KeyboardAvoidingView --- -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 height, position, or bottom padding based on the position of the keyboard. +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 height, position, or bottom padding based on the keyboard height. ## Example @@ -11,10 +11,10 @@ It is a component to solve the common problem of views that need to move out of import React, { Component } from 'react'; import { View, KeyboardAvoidingView, TextInput, StyleSheet, Text, Platform, TouchableWithoutFeedback, Button, Keyboard } from 'react-native'; -const keyBoardAvoidingComponent = () => { +const KeyboardAvoidingComponent = () => { return ( @@ -55,7 +55,7 @@ const styles = StyleSheet.create({ } }); -export default keyBoardAvoidingComponent; +export default KeyboardAvoidingComponent; ``` ---