Merge attributes for hint

This commit is contained in:
philipp lang 2024-10-19 21:25:03 +02:00
parent d096a1026b
commit 56dd5cf146
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Hint extends Component
public function render() public function render()
{ {
return <<<'HTML' 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"> <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> <x-ui::sprite src="info-button" class="w-5 h-5 text-primary-700"></x-ui::sprite>
</div> </div>