diff --git a/example/babel.config.js b/example/babel.config.js index b85e43d..623d3b9 100644 --- a/example/babel.config.js +++ b/example/babel.config.js @@ -17,6 +17,7 @@ module.exports = function (api) { }, }, ], + 'react-native-reanimated/plugin', ], }; }; diff --git a/example/package.json b/example/package.json index a1da854..7d2b0d9 100644 --- a/example/package.json +++ b/example/package.json @@ -14,6 +14,8 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.72.4", + "react-native-gesture-handler": "~2.12.0", + "react-native-reanimated": "~3.3.0", "react-native-web": "~0.19.6" }, "devDependencies": { diff --git a/example/src/App.tsx b/example/src/App.tsx index 8d9bd59..987398b 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,28 +1,24 @@ import React, { useRef } from 'react'; -import { StyleSheet, Button, View } from 'react-native'; -// import ScreenWrapper from './ScreenWrapper'; -// import UzaversePayModal from './Modal'; -// import UzaversePaySheetModal from './utils'; +import { StyleSheet, Button } from 'react-native'; +import { + UPScreenWrapper, + UPModal, + UPBottomSheetModal, +} from 'react-native-uzaverse-pay'; export default function App() { - // const bottomSheetModalRef = useRef(null); + const upModalRef = useRef(null); - // function openModal() { - // bottomSheetModalRef.current?.present(); - // } - - // return ( - // - //