Skip to content

Commit

Permalink
Update tile.blade.php
Browse files Browse the repository at this point in the history
updated Tile.blade.php with merge attribute ... now you can add classes to tiles from blade view
  • Loading branch information
aymanatmeh authored Mar 4, 2022
1 parent 9b4241b commit 326c416
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/tile.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div
style="grid-area: {{ $gridArea }};{{ $show ? '' : 'display:none' }}"
class="overflow-hidden rounded relative bg-tile"
{{ $attributes->merge([
'class'=>'overflow-hidden rounded relative bg-tile"'
])}}
{{ $refreshIntervalInSeconds ? "wire:poll.{$refreshIntervalInSeconds}s" : '' }}
>
<div
Expand Down

0 comments on commit 326c416

Please sign in to comment.