Multiple actions inline

How can I have the two actions side by side? I tried without the group but doesn't work with the error
Header actions must be an instance of Filament\Actions\Action, or Filament\Actions\ActionGroup.

This code display a dropdown but isn't what I want.
   protected function getHeaderActions(): array
    {

        return [
            ActionGroup::make([
                Action::make()
                    ->name('view')
                    ->icon('heroicon-o-arrow-down-tray')
                    ->url(route('exam.pdf.download', $this->record))
                    ->openUrlInNewTab(),
                DeleteAction::make(),
            ]) 
        ];
    }

Thanks.
Solution
use Filament\Actions;
protected function getHeaderActions(): array
{
    return [
        Actions\Action::make('action1'),
        Actions\Action::make('action2'),
    ];
}
Was this page helpful?