Skip to content

Commit

Permalink
chore: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocfe authored and github-actions[bot] committed Jan 31, 2025
1 parent a3964e8 commit 5485800
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/tables/src/Columns/ToggleColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Filament\Forms\Components\Concerns\HasToggleColors;
use Filament\Forms\Components\Concerns\HasToggleIcons;
use Filament\Support\Components\Contracts\HasEmbeddedView;
use Filament\Support\Enums\IconSize;
use Filament\Support\Facades\FilamentAsset;
use Filament\Support\Facades\FilamentView;
use Filament\Support\View\Components\Toggle;
Expand Down Expand Up @@ -104,14 +105,14 @@ public function toEmbeddedHtml(): string
>
<div>
<div aria-hidden="true">
<?= generate_icon_html($offIcon, size: \Filament\Support\Enums\IconSize::ExtraSmall)?->toHtml() ?>
<?= generate_icon_html($offIcon, size: IconSize::ExtraSmall)?->toHtml() ?>
</div>

<div aria-hidden="true">
<?= generate_icon_html(
$onIcon,
attributes: (new ComponentAttributeBag)->merge(['x-cloak' => true], escape: false),
size: \Filament\Support\Enums\IconSize::ExtraSmall,
size: IconSize::ExtraSmall,
)?->toHtml() ?>
</div>
</div>
Expand Down

0 comments on commit 5485800

Please sign in to comment.