mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
사소한 리팩토링
This commit is contained in:
1 parent
d986493431
commit
48bf9c1165
62 files changed
+31
-39
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<script lang="ts">
|
||||
import { TextInputModal } from "#lib/ui/index.ts";
|
||||
|
||||
interface Props {
|
||||
isOpen: boolean;
|
||||
onCreateClick: (name: string) => Promise<boolean>;
|
||||
}
|
||||
|
||||
let { isOpen = $bindable(), onCreateClick }: Props = $props();
|
||||
</script>
|
||||
|
||||
<TextInputModal
|
||||
bind:isOpen
|
||||
title="새 폴더"
|
||||
placeholder="폴더 이름"
|
||||
submitText="만들기"
|
||||
onSubmitClick={onCreateClick}
|
||||
/>
|
||||
Reference in new issue
Block a user