F
Filament4mo ago
o.m

How do I call an icon from custom page view ?

I have a custom page and I am trying to accomplish putting an icon to the row but it doesn't work. why?
<td class="px-4 py-2.5">
<a href="#" wire:sortable-group.handle class="cursor-grab">
<i class="heroicon-o-bars-3"></i>
</a>
</td>
<td class="px-4 py-2.5">
<a href="#" wire:sortable-group.handle class="cursor-grab">
<i class="heroicon-o-bars-3"></i>
</a>
</td>
No description
1 Reply
o.m
o.mOP4mo ago
I got it to work by calling it as a component
<a href="#" wire:sortable-group.handle class="cursor-grab">
<x-heroicon-o-bars-3 class="w-5 h-5" />
</a>
<a href="#" wire:sortable-group.handle class="cursor-grab">
<x-heroicon-o-bars-3 class="w-5 h-5" />
</a>

Did you find this page helpful?