Merge attributes for hint

This commit is contained in:
philipp lang 2024-10-19 21:25:03 +02:00
parent 867cf99a44
commit 66561ad43e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Hint extends Component
public function render()
{
return <<<'HTML'
<div class="h-full items-center flex absolute top-0 right-0">
<div {{ $attributes->merge(['class' => 'h-full items-center flex absolute top-0 right-0']) }}>
<div x-tooltip.raw="{{$slot}}" class="mr-2">
<x-ui::sprite src="info-button" class="w-5 h-5 text-primary-700"></x-ui::sprite>
</div>