From b607f83a23cf9438513c1551240a52560db5e74b Mon Sep 17 00:00:00 2001 From: francoism90 Date: Wed, 29 May 2024 14:26:27 +0200 Subject: [PATCH] Add icon class --- resources/views/actions/link.blade.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/views/actions/link.blade.php b/resources/views/actions/link.blade.php index 084f6014..38cee324 100644 --- a/resources/views/actions/link.blade.php +++ b/resources/views/actions/link.blade.php @@ -4,6 +4,7 @@ 'label' => 'text-inherit', 'active' => 'text-primary-400 hover:text-primary-300', 'inactive' => 'text-secondary-400 hover:text-primary-400', + 'icon' => 'size-6 text-secondary-400', ]) ->mergeAttributes($action->getComponentAttributes()) ->classMerge([ @@ -18,7 +19,10 @@ ]) }}> @if ($slot->isEmpty()) - + {{ $label() }}