How to set prependActions on table

Is there a similar method to the ->prependActions() method when creating a table definition in a TableWidget?

I'm getting the Table Actions like this:

    protected function getTableActions(): array
    {
        return [
            Impersonate::make('impersonate')->icon('heroicon-o-users'),
        ];
    }

but I don't think there's a getTablePrependActions() method similar to ->prependActions() , so I tried making a public function, but that didn't work.

    public function getTablePrependActions(): int | string | array
    {
        return [
            Impersonate::make('impersonate'),
        ];
    }

    public function render(): View
    {
        $this->getTablePrependActions();
        return view('filament.widgets.user-widget');
    }


Where am I going wrong here?
Was this page helpful?