Merge attributes for hint
This commit is contained in:
parent
d096a1026b
commit
56dd5cf146
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue