diff --git a/example/App.tsx b/example/App.tsx index 7a53ed419..a4d312ef1 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -1,21 +1,30 @@ import { ThirdwebProvider } from "@thirdweb-dev/react-native"; import React, { useState } from "react"; -import { SafeAreaView, StyleSheet } from "react-native"; +import { Button, SafeAreaView, StyleSheet, View } from "react-native"; import * as XMTP from "xmtp-react-native-sdk"; import AuthView from "./src/AuthView"; import HomeView from "./src/HomeView"; +import TestsView from "./src/TestsView"; export default function App() { const [client, setClient] = useState(null); + const [isTesting, setIsTesting] = useState(false); - return ( + return isTesting ? ( + + + + ) : ( {client != null ? ( ) : ( - + + +