From 763185fbb7d1b8db8850deba817672d99fc08922 Mon Sep 17 00:00:00 2001 From: madkarmaa Date: Sun, 25 Aug 2024 17:49:34 +0200 Subject: [PATCH] feat: add `permanent` banner prop --- src/lib/components/Banner.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/Banner.svelte b/src/lib/components/Banner.svelte index 60429780..60a8281d 100644 --- a/src/lib/components/Banner.svelte +++ b/src/lib/components/Banner.svelte @@ -3,6 +3,7 @@ import Button from './Button.svelte'; export let level: 'info' | 'warning' | 'caution' = 'info'; + export let permanent: boolean = false; const dispatch = createEventDispatcher(); let closed: boolean = false; @@ -13,7 +14,7 @@ }; -