share modal
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
import {
|
||||
View,
|
||||
Text,
|
||||
TextInput,
|
||||
Image,
|
||||
Pressable,
|
||||
Platform,
|
||||
} from "react-native";
|
||||
import { BlurView } from "expo-blur";
|
||||
import React, { useState } from "react";
|
||||
import { Platform, Pressable, Text, TextInput, View } from "react-native";
|
||||
import EyeSlashSVG from "../../../assets/UI/EyeSlashSVG";
|
||||
import EyeSVG from "../../../assets/UI/EyeSVG";
|
||||
import { Palette, Style } from "../../../styles";
|
||||
import { FONT_FAMILY } from "../../../styles/Fonts";
|
||||
import { BlurView } from "expo-blur";
|
||||
import { icons } from "../../../assets";
|
||||
|
||||
const EditInput = ({
|
||||
label = "",
|
||||
@@ -79,7 +73,7 @@ const EditInput = ({
|
||||
/>
|
||||
{type === "password" && (
|
||||
<Pressable onPress={() => setShowPassword(!showPassword)}>
|
||||
<Image source={icons.eye} />
|
||||
{showPassword ? <EyeSVG /> : <EyeSlashSVG />}
|
||||
</Pressable>
|
||||
)}
|
||||
</BlurView>
|
||||
|
||||
Reference in New Issue
Block a user