Create Macro for Filament Notification

I want to create 2 macros as shown in attached file for sendSuccess and sendError macros. but it gives error. can anyone help me with this? #filament
image.png
message.txt15.19KB
Was this page helpful?