|
|
@ -9,6 +9,7 @@ |
|
|
export let title = undefined |
|
|
export let title = undefined |
|
|
export let size = "S" |
|
|
export let size = "S" |
|
|
export let cancelText = "Cancel" |
|
|
export let cancelText = "Cancel" |
|
|
|
|
|
export let warning = false |
|
|
export let confirmText = "Confirm" |
|
|
export let confirmText = "Confirm" |
|
|
export let showCancelButton = true |
|
|
export let showCancelButton = true |
|
|
export let showConfirmButton = true |
|
|
export let showConfirmButton = true |
|
|
@ -60,6 +61,7 @@ |
|
|
{/if} |
|
|
{/if} |
|
|
{#if showConfirmButton} |
|
|
{#if showConfirmButton} |
|
|
<Button |
|
|
<Button |
|
|
|
|
|
{warning} |
|
|
group |
|
|
group |
|
|
cta |
|
|
cta |
|
|
{...$$restProps} |
|
|
{...$$restProps} |
|
|
|