mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
DirectroyEntry 컴포넌트 구현
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
|
||||
interface Props {
|
||||
children: Snippet;
|
||||
onClose?: () => void;
|
||||
onclose?: () => void;
|
||||
isOpen: boolean;
|
||||
}
|
||||
|
||||
let { children, onClose, isOpen = $bindable() }: Props = $props();
|
||||
let { children, onclose, isOpen = $bindable() }: Props = $props();
|
||||
|
||||
const closeModal = $derived(
|
||||
onClose ||
|
||||
onclose ||
|
||||
(() => {
|
||||
isOpen = false;
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user