diff --git a/src/lib/components/modal.svelte b/src/lib/components/modal.svelte index 1272c84..99aefc9 100644 --- a/src/lib/components/modal.svelte +++ b/src/lib/components/modal.svelte @@ -6,6 +6,7 @@ export let open: boolean; export let title: string; export let size: 'sm' | 'md' | 'lg' = 'md'; + export let noOutsideClick: boolean = false; const dispatch = createEventDispatcher(); @@ -34,7 +35,7 @@ - + (!noOutsideClick ? close() : null)} class="app-modal">
{title} diff --git a/src/lib/components/welcome-modal.svelte b/src/lib/components/welcome-modal.svelte index 67cbbc5..b01b48d 100644 --- a/src/lib/components/welcome-modal.svelte +++ b/src/lib/components/welcome-modal.svelte @@ -18,7 +18,7 @@ } - +

Capture your thoughts for later by writing a quick note. Add tags to categorize it and organize your notes.