miguel456 25fe13f091
chore(deps): added adminlte vendored items
(this might not be entirely necessary unless we're changing everything adminlte publishes)

Signed-off-by: miguel456 <me@nogueira.codes>
2023-02-26 02:15:25 +00:00

27 lines
599 B
PHP

<div {{ $attributes->merge(['class' => $makeAlertClass()]) }}>
{{-- Dismiss button --}}
@isset($dismissable)
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
&times;
</button>
@endisset
{{-- Alert header --}}
@if(! empty($title) || ! empty($icon))
<h5>
@if(! empty($icon))
<i class="icon {{ $icon }}"></i>
@endif
@if(! empty($title))
{{ $title }}
@endif
</h5>
@endif
{{-- Alert content --}}
{{ $slot }}
</div>