Banner Controlled 1 component design & features
This example controls Banner visibility with the visible and onClose props so parent state can restore the banner after dismiss.
Controlled banners are useful when dismissal should persist to storage or sync with other UI chrome.
