Add button in custom register page

Hello everyone how can I add a button on a custom registration page?
I tried using : use Filament\Forms\Components\Actions\Action; but I get the error: App\Filament\Pages\Auth\Register::getBackToDashboardComponent(): Return value must be of type Filament\Forms\Components\Component, Filament\Forms\Components\Actions\Action returned
Solution
Forms\Components\Actions::make([
    Forms\Components\Actions\Action::make('custom_button'),
])
Was this page helpful?