We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9054746 commit b607f83Copy full SHA for b607f83
resources/views/actions/link.blade.php
@@ -4,6 +4,7 @@
4
'label' => 'text-inherit',
5
'active' => 'text-primary-400 hover:text-primary-300',
6
'inactive' => 'text-secondary-400 hover:text-primary-400',
7
+ 'icon' => 'size-6 text-secondary-400',
8
])
9
->mergeAttributes($action->getComponentAttributes())
10
->classMerge([
@@ -18,7 +19,10 @@
18
19
20
}}>
21
@if ($slot->isEmpty())
- <x-wireuse::actions-icon :$action />
22
+ <x-wireuse::actions-icon
23
+ :$action
24
+ class:icon="{{ $attributes->classFor('icon') }}"
25
+ />
26
27
<span class="{{ $attributes->classFor('label') }}">
28
{{ $label() }}
0 commit comments