Skip to content

Commit 2ed5473

Browse files
authored
Use component attributes
1 parent f29677d commit 2ed5473

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/views/components/simple-alert.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
@endphp
2222

2323
<div x-data="{}"
24-
@class([
25-
'filament-simple-alert rounded-md bg-custom-50 p-4 dark:bg-custom-400/10',
26-
'ring-1 ring-custom-100 dark:ring-custom-500/70' => $border,
27-
])
24+
{{ $attributes->class([
25+
'filament-simple-alert rounded-md bg-custom-50 p-4 dark:bg-custom-400/10',
26+
'ring-1 ring-custom-100 dark:ring-custom-500/70' => $border,
27+
]) }}
2828
style="{{ $colors }}">
2929
<div class="flex gap-3">
3030
@if($icon)

0 commit comments

Comments
 (0)