How to use show notification in custom component

How to use showNotification() in custom component?
Screenshot 2022-10-05 at 6.29.17 PM
Screenshot 2022-10-05 at 6.29.33 PM

Hi @Kenny2,

You should be able to use showNotification() through a custom component by triggering a JS query in Retool that runs the function showNotification(). We also have some docs here on how to use this showNotification().

Here's an example:

I'm also attaching a JSON file of the app for you to take a closer look. Hope this helps!