import { useState } from "react"; import { Button, Modal, NativeSyntheticEvent, Text, TextInput, TextInputChangeEventData, View } from "react-native" export const ImportNsec = ({ isVisible, onClose, onPress }: { isVisible: boolean, onClose: () => void, onPress: (nsec: `nsec1${string}`) => void }) => { const [nsec, setNsec] = useState(""); const handleNsec = (value: string) => { setNsec(value) } return ( { console.log("closing....") ; onClose(); return true }} onDismiss={() => {onClose()}} presentationStyle="pageSheet"> Import Your Nsec ) }