fix(icons): render Nova Heroicons
This commit is contained in:
7 files changed
+30
-2
No files matched your search
@@ -44,6 +44,7 @@ class RowActions extends Field
|
||||
public function add(
|
||||
Action $action,
|
||||
string $icon = 'play',
|
||||
string $iconType = 'outline',
|
||||
string $color = 'default',
|
||||
string $variant = 'outline',
|
||||
Closure|Stringable|string|null $label = null,
|
||||
@@ -60,6 +61,7 @@ class RowActions extends Field
|
||||
$this->rowActions[] = new RowAction(
|
||||
action: $action,
|
||||
icon: $icon,
|
||||
iconType: $iconType,
|
||||
color: $color,
|
||||
variant: $variant,
|
||||
label: $label,
|
||||
@@ -127,6 +129,7 @@ class RowActions extends Field
|
||||
'key' => $action->uriKey().'-'.$button->sequence.'-'.$index,
|
||||
'action' => $nativeAction,
|
||||
'icon' => $button->icon,
|
||||
'iconType' => $button->iconType,
|
||||
'color' => $button->color,
|
||||
'variant' => $button->variant,
|
||||
'label' => $label,
|
||||
|
||||
Reference in new issue
Block a user