File tree 2 files changed +4
-12
lines changed
src/resources/views/components/code
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 6
6
' mt-3 mb-6' ,
7
7
]) } } >
8
8
@if ($render )
9
- @if (WireUi:: checkSlot ($slot ) )
10
- <div {{ $slot -> attributes } } >
11
- {!! Blade:: render (serialize_slot ($slot ), $this -> all ()) ! !}
12
- </div >
13
- @else
9
+ <div {{ WireUi:: extractAttributes ($slot ) } } >
14
10
{!! Blade:: render (serialize_slot ($slot ), $this -> all ()) ! !}
15
- @endif
11
+ </ div >
16
12
@endif
17
13
18
14
<div x-ref =" code" wire:ignore >
Original file line number Diff line number Diff line change 10
10
' bg-white dark:bg-secondary-950' => ! $color && ! $clean ,
11
11
' p-6 rounded-lg' => ! $clean ,
12
12
] )>
13
- @if (WireUi:: checkSlot ($slot ) )
14
- <div {{ $slot -> attributes } } >
15
- {!! Blade:: render (serialize_slot ($slot ), $this -> all ()) ! !}
16
- </div >
17
- @else
13
+ <div {{ WireUi:: extractAttributes ($slot ) } } >
18
14
{!! Blade:: render (serialize_slot ($slot ), $this -> all ()) ! !}
19
- @endif
15
+ </ div >
20
16
</div >
21
17
22
18
<div x-ref =" code" x-show =" code" wire:ignore >
You can’t perform that action at this time.
0 commit comments