我正在尝试使用react-native-keyboard-aware-scroll-view库(0.2.7)。它对我来说绝对没有任何意义。我做错了什么?
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'
render() {
return (
<KeyboardAwareScrollView>
<View>
<TextInput placeholder='hi1' />
<TextInput placeholder='hi2' />
<TextInput placeholder='hi3' />
<TextInput placeholder='hi4' />
<TextInput placeholder='hi5' />
<TextInput placeholder='hi6' />
<TextInput placeholder='hi7' />
</View>
</KeyboardAwareScrollView>
)
}