Files
nexusphp/app/Filament/Custom/Widgets/StatTable.php
NekoCH 532f3bdb3f migration script
# Conflicts:
#	app/Filament/Resources/Torrent/AnnounceLogResource.php
2025-09-27 12:29:50 +08:00

30 lines
514 B
PHP

<?php
namespace App\Filament\Custom\Widgets;
use Filament\Widgets\TableWidget;
use Filament\Widgets\Widget;
class StatTable extends Widget
{
protected string $view = 'filament.widgets.stat-table';
protected function getHeader(): string
{
}
protected function getTableRows(): array
{
return [];
}
protected function getViewData(): array
{
return [
'header' => $this->getHeader(),
'data' => $this->getTableRows(),
];
}
}