diff options
author | crupest <crupest@outlook.com> | 2023-08-31 01:50:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-31 01:50:40 +0800 |
commit | fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8 (patch) | |
tree | 499e15e9567eae52ed043b8eaf99ddf33db05311 /FrontEnd/src/components/alert/index.ts | |
parent | 9c69024cf5961c3c71fb58e4237f09a513d195b1 (diff) | |
download | timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.gz timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.bz2 timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.zip |
...
Diffstat (limited to 'FrontEnd/src/components/alert/index.ts')
-rw-r--r-- | FrontEnd/src/components/alert/index.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/FrontEnd/src/components/alert/index.ts b/FrontEnd/src/components/alert/index.ts new file mode 100644 index 00000000..1be0c2ec --- /dev/null +++ b/FrontEnd/src/components/alert/index.ts @@ -0,0 +1,8 @@ +import { alertService, AlertInfo } from "./AlertService"; +import { default as AlertHost } from "./AlertHost"; + +export { alertService, AlertHost }; + +export function pushAlert(alert: AlertInfo): void { + alertService.push(alert); +} |