diff options
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); +} |