Files
marco/app/components/toast.gjs
2026-03-27 15:00:36 +04:00

15 lines
319 B
Plaintext

import Component from '@glimmer/component';
import { service } from '@ember/service';
export default class ToastComponent extends Component {
@service toast;
<template>
{{#if this.toast.isVisible}}
<div class="toast-notification">
{{this.toast.message}}
</div>
{{/if}}
</template>
}