update files
This commit is contained in:
@@ -2,8 +2,6 @@ import { View, Text, Platform } from "react-native";
|
||||
import React from "react";
|
||||
import { KeyboardAvoidingView } from "react-native";
|
||||
import { StyleSheet } from "react-native";
|
||||
import { TouchableWithoutFeedback } from "react-native";
|
||||
import { Keyboard } from "react-native";
|
||||
|
||||
const KeyboardAvoidingComponent = ({ children }) => {
|
||||
return (
|
||||
@@ -12,9 +10,7 @@ const KeyboardAvoidingComponent = ({ children }) => {
|
||||
behavior={Platform.OS === "ios" ? "padding":"height" }
|
||||
style={styles.container}
|
||||
>
|
||||
{/* <TouchableWithoutFeedback onPress={Keyboard.dismiss}> */}
|
||||
<View style={styles.inner}>{children}</View>
|
||||
{/* </TouchableWithoutFeedback> */}
|
||||
<View style={styles.inner}>{children}</View>
|
||||
</KeyboardAvoidingView>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user