Get MVP of web app running
This commit is contained in:
parent
751dfb20fd
commit
a3d2db9645
8 changed files with 158 additions and 46 deletions
|
@ -1,7 +1,8 @@
|
|||
import React, {useState, useEffect} from 'react'
|
||||
import {SafeAreaProvider} from 'react-native-safe-area-context'
|
||||
import * as view from './view/index'
|
||||
import {RootStoreModel, setupState, RootStoreProvider} from './state'
|
||||
import {DesktopWebShell} from './view/shell/desktop-web'
|
||||
import {WebShell} from './view/shell/web'
|
||||
// import Toast from 'react-native-root-toast' TODO
|
||||
|
||||
function App() {
|
||||
|
@ -22,7 +23,9 @@ function App() {
|
|||
|
||||
return (
|
||||
<RootStoreProvider value={rootStore}>
|
||||
<DesktopWebShell />
|
||||
<SafeAreaProvider>
|
||||
<WebShell />
|
||||
</SafeAreaProvider>
|
||||
</RootStoreProvider>
|
||||
)
|
||||
// <Toast.ToastContainer /> TODO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue