fix(icons): render Nova Heroicons

This commit is contained in:
MeghdadFadaee committed 2026-07-30 13:53:07 +03:30
1 parent e18806baf6
commit ade3fc100a
7 files changed
+30 -2

No files matched your search

+2
View File
@@ -38,6 +38,7 @@ class RowActionsTest extends TestCase
->add(
ConfigurableAction::make()->withoutConfirmation(),
icon: 'bolt',
iconType: 'solid',
color: 'warning',
variant: 'solid',
label: fn (Model $model) => 'Run '.$model->getKey(),
@@ -55,6 +56,7 @@ class RowActionsTest extends TestCase
$this->assertSame('reason', $action['action']['fields'][0]['attribute']);
$this->assertFalse($action['action']['withoutConfirmation']);
$this->assertSame('bolt', $action['icon']);
$this->assertSame('solid', $action['iconType']);
$this->assertSame('warning', $action['color']);
$this->assertSame('solid', $action['variant']);
$this->assertSame('Run 17', $action['label']);