dao-game / files / src / pages / index.ts
index.ts
| 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(); |