Implement web toast

This commit is contained in:
Paul Frazee 2023-01-26 22:08:10 -06:00
parent 20eaac6acd
commit 24559599f3
3 changed files with 77 additions and 21 deletions

View file

@ -3,7 +3,7 @@ import {SafeAreaProvider} from 'react-native-safe-area-context'
import * as view from './view/index'
import {RootStoreModel, setupState, RootStoreProvider} from './state'
import {WebShell} from './view/shell/web'
// import Toast from 'react-native-root-toast' TODO
import {ToastContainer} from './view/com/util/Toast.web'
function App() {
const [rootStore, setRootStore] = useState<RootStoreModel | undefined>(
@ -26,9 +26,9 @@ function App() {
<SafeAreaProvider>
<WebShell />
</SafeAreaProvider>
<ToastContainer />
</RootStoreProvider>
)
// <Toast.ToastContainer /> TODO
}
export default App