feat: initial project setup with Laravel 12 and Filament v4
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Filament\Resources\PatientIllnessResource\Pages;
|
||||
|
||||
use App\Filament\Resources\PatientIllnessResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListPatientIllnesses extends ListRecords
|
||||
{
|
||||
protected static string $resource = PatientIllnessResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make()
|
||||
->icon('heroicon-o-plus'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user