You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

If you need to add notifications to the MoonShine notification center, you can use the class: MoonShine\Notifications\MoonShineNotification

use MoonShine\Notifications\MoonShineNotification;
message: 'Notification message',
// Optional button
button: ['link' => '', 'label' => 'Click me'],
// Optional id administrators (by default for everyone)
ids: [1,2,3],
// Optional icon color (purple, pink, blue, green, yellow, red, gray)
color: 'green'