dao-game / react-multiplayer / files / src / pages / index.ts
Branch react-multiplayer · default branch · all branches
index.ts
38c7e27c 2022-03-22 Pavel Safronov | 1 | import { showModal } from "../utils/modal"; |
| 2 | import { showSnackbar } from "../utils/snackbar"; | |
| 3 | import 'web-animations-js'; | |
| 4 | ||
| 5 | const doStuff = async () => { | |
| 6 | // await showModal({ | |
| 7 | // text: 'Blah blah blah blah', | |
| 8 | // willBackgroundCancel: false | |
| 9 | // }); | |
| 10 | // await showModal({ | |
| 11 | // text: 'Another thing!' | |
| 12 | // }); | |
| 13 | // await showSnackbar('Hi!', 1 * 1000, 2 * 1000); | |
| 14 | }; | |
| 15 | doStuff(); |