mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
ActionModal 레이아웃 및 Props 이름 관련 리팩토링
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
defaultValue?: string;
|
||||
isOpen: boolean;
|
||||
onbeforeclose?: () => void;
|
||||
onsubmit: (value: string) => ReturnType<ConfirmHandler>;
|
||||
onSubmitClick: (value: string) => ReturnType<ConfirmHandler>;
|
||||
placeholder: string;
|
||||
submitText: string;
|
||||
title: string;
|
||||
@@ -16,7 +16,7 @@
|
||||
defaultValue = "",
|
||||
isOpen = $bindable(),
|
||||
onbeforeclose,
|
||||
onsubmit,
|
||||
onSubmitClick,
|
||||
placeholder,
|
||||
submitText,
|
||||
title,
|
||||
@@ -36,7 +36,7 @@
|
||||
{onbeforeclose}
|
||||
{title}
|
||||
confirmText={submitText}
|
||||
onconfirm={() => onsubmit(value)}
|
||||
onConfirmClick={() => onSubmitClick(value)}
|
||||
>
|
||||
<TextInput bind:value {placeholder} class="mb-5" />
|
||||
<TextInput bind:value {placeholder} class="mb-3" />
|
||||
</ActionModal>
|
||||
|
||||
Reference in New Issue
Block a user