use boolean

This commit is contained in:
Harsh Mahajan committed 2025-10-16 19:54:31 +05:30
1 parent e71d9df1dc
commit 8fece89449
4 files changed
+15 -15

No files matched your search

@@ -136,7 +136,7 @@
{onSubmit}
dismissible={false}
autoClose={false}
mode="modeless">
modeless>
<Card.Base variant="secondary" padding="s">
<Layout.Stack gap="xxs">
<Typography.Text gap="m">
+2 -2
View File
@@ -14,7 +14,7 @@
};
export let title = '';
export let hideFooter = false;
export let mode: 'modal' | 'modeless' = 'modal';
export let modeless: boolean = false;
let alert: HTMLElement;
@@ -30,7 +30,7 @@
</script>
<Form isModal {onSubmit}>
<Modal {mode} {size} {title} bind:open={show} {hideFooter} {dismissible}>
<Modal {modeless} {size} {title} bind:open={show} {hideFooter} {dismissible}>
<slot slot="description" name="description" />
{#if error}
<div bind:this={alert}>