<script>
import BannerDismissable from '$lib/dist/components/BannerDismissable.svelte';
</script>
<BannerDismissable bannerId="docs-banner-dismiss" legend="Example of dismissable banner." link="/" subtext="Learn more" />
This banner will be shown until user has not dismissed it.
bannerId
value would be used to set the local storage value when banner is dismissed by the user, so that same banner won’t be shown on that browser.