continue generating flow, add backend connection on main tabs
This commit is contained in:
@@ -12,7 +12,7 @@ import { FONT_FAMILY } from "../../../styles/Fonts";
|
||||
import { BlurView } from "expo-blur";
|
||||
import { icons } from "../../../assets";
|
||||
|
||||
const EditInput = ({ label = "", placeholder = "", type = "default" }) => {
|
||||
const EditInput = ({ label = "", placeholder = "", type = "default", value = "", setValue = () => {} }) => {
|
||||
const [showPassword, setShowPassword] = useState(false);
|
||||
|
||||
return (
|
||||
@@ -65,6 +65,8 @@ const EditInput = ({ label = "", placeholder = "", type = "default" }) => {
|
||||
flex: 1,
|
||||
}}
|
||||
keyboardType={type}
|
||||
value={value}
|
||||
onChangeText={setValue}
|
||||
{...(type === "password" && {
|
||||
secureTextEntry: !showPassword,
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user