This is a lightweight package for scrollable content running with React Navigation.
- TODO
- keyboardVerticalOffset (number)
- extends KeyboardAvoidingView props
import { KeyboardAvoidingView } from '...'
export MyScreen = () => {
return (
<KeyboardAvoidingView keyboardVerticalOffset={10}>
...
<View />
...
</KeyboardAvoidingView>
)
}
import { withKeyboardAvoidingView } from "...";
const MyScreen = () => {
return <View />;
};
export default withKeyboardAvoidingView(MyScreen, {
keyboardVerticalOffset: 10,
});