singleloginsystem/app/Data/Ui/TableHeader.php
= ca628fb009 feature: add role permission table for HR Manager
- Add TableHeader DTO
- Refactor Toggle component to have checked prop, as wire:model does not work
- add null collasing for php 8.5 strict compatibility in scope directive
- refactor card component so that actions stay on the right
- make button component scaled small on active and change color on hover
2026-05-11 07:17:03 +00:00

17 lines
266 B
PHP

<?php
declare(strict_types=1);
namespace App\Data\Ui;
use Spatie\LaravelData\Data;
final class TableHeader extends Data
{
public function __construct(
public string $key,
public string $label,
public ?array $format = null,
) {}
}