Archived
1
0
Fork 0

Adding AlertContainer Livewire component.

This commit is contained in:
Henrik Hautakoski 2021-12-31 16:41:11 +01:00
parent 7712a4aad2
commit fa002d5e08
2 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,5 @@
<div class="absolute z-50 top-0 w-full px-4 sm:px-8 space-y-2 mt-2">
@foreach($messages as $message)
<x-notification variant="{{ $message[0] }}">{{ $message[1] }}</x-notification>
@endforeach
</div>