<?php

namespace App\Filament\Admin\Resources\WorkflowTemplates\Pages;

use App\Filament\Admin\Resources\WorkflowTemplates\WorkflowTemplateResource;
use Filament\Actions\CreateAction;
use Filament\Resources\Pages\ListRecords;

class ListWorkflowTemplates extends ListRecords
{
    protected static string $resource = WorkflowTemplateResource::class;

    public function getTitle(): string
    {
        return __('workflow.templates.list_title');
    }

    protected function getHeaderActions(): array
    {
        return [
            CreateAction::make(),
        ];
    }
}
