import {Modal, Pressable, Text, View} from "react-native"; import {BlurView} from "expo-blur"; import Button from "./button"; const ModalView = ({children, text, isVisible, setIsVisible}) => { return ( {/*Header*/} {text} {children} setIsVisible(false)}> Отмена ) } export const ModalButtonSuccess = ({text, onPress}) => (