convert to view component

This commit is contained in:
Burak Civan
2022-10-17 11:19:48 +03:00
parent 18b269a102
commit 37c83d3c02
6 changed files with 25 additions and 20 deletions

View File

@ -8,7 +8,9 @@
}
@endphp
<div {{ $first_attributes }}>
{!! $first !!}
<x-marguee-text>
{!! $first !!}
</x-marguee-text>
</div>
@endif
@ -21,9 +23,13 @@
}
@endphp
<div {{ $second_attributes }}>
{!! $second !!}
<x-marguee-text>
{!! $second !!}
</x-marguee-text>
</div>
@endif
{{ $slot }}
<x-marguee-text>
{{ $slot }}
</x-marguee-text>
</td>