Add a 'dismiss' button to the Welcome Banner

I’ve added a setting that allows the banner to be dismissed :tada:

After updating the component you’ll have access to a can be dismissed theme setting. When enabled you’ll be able to click the x to hide the banner.

Note that this utilizes browser localStorage, so the dismissal is per-browser. So if you dismiss it on desktop you’ll also need to dismiss it on mobile (this is a limitation with how themes work).

Thanks for the suggestion everyone!

9 Likes