Notification not shown

I am using the Notification & Table as a standalone package for my existing project. I tried to show a notification on the Delete action, but nothing is being displayed. I have already published all the assets of the Notification & Table in the vendor folder.

Do I need to include a view somewhere?

$table->actions([
    Action::make('delete')
        ->icon('heroicon-m-trash')
        ->color('danger')
        ->requiresConfirmation()
        ->modalHeading('Delete')
        ->action(function (Product $record) {
            Notification::make()
                ->title('Saved successfully')
                ->success()
                ->send();
        })
])
Was this page helpful?