import { AnimatePresence } from 'framer-motion'; import React, { useReducer } from 'react'; import { StyleSheet, Pressable } from 'react-native'; import * as ReDrip from '@nandorojo/redrip'; const { View } = ReDrip; function Shape() { return ( ); } export default function Presence() { const [visible, toggle] = useReducer((s) => !s, true); return ( {visible && } ); } const styles = StyleSheet.create({ shape: { justifyContent: 'center', height: 250, width: 250, borderRadius: 25, marginRight: 10, backgroundColor: 'white', }, container: { flex: 1, alignItems: 'center', justifyContent: 'center', flexDirection: 'row', backgroundColor: '#9c1aff', }, });