forked from cerc-io/laconic-wallet
* Add navigation * Remove navigation * Change accordian title * Add page to sign message * Call sign page on button click * Change variable name * Change app title * Change create button color * Delete Cosmos component * Fix imports * Add line * Change sign message title * Ask for confirmation before resetting wallet * Make review changes * Hide dialog on clicking outside * Change dialog options * Make review changes * Remove import * Change title * Change default state --------- Co-authored-by: Adw8 <adwait@deepstacksoft.com>
24 lines
694 B
TypeScript
24 lines
694 B
TypeScript
import React from 'react';
|
|
|
|
import { HomeScreen } from './components/HomeScreen';
|
|
import { Header } from './components/Header';
|
|
import { NavigationContainer } from '@react-navigation/native';
|
|
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
import SignMessage from './components/SignMessage';
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
const App = (): React.JSX.Element => {
|
|
return (
|
|
<NavigationContainer>
|
|
<Header />
|
|
<Stack.Navigator>
|
|
<Stack.Screen name="Home" component={HomeScreen} />
|
|
<Stack.Screen name="Sign Message" component={SignMessage} />
|
|
</Stack.Navigator>
|
|
</NavigationContainer>
|
|
);
|
|
};
|
|
|
|
export default App;
|