feat: add notification component
This commit is contained in:
9
src/app/components/notification/notification.html
Normal file
9
src/app/components/notification/notification.html
Normal file
@@ -0,0 +1,9 @@
|
||||
@if(notification$(); as notification) {
|
||||
<div class="notification notification--{{notification.type}} notification--fade-in-out">
|
||||
<p>{{ notification.message }}</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user