mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
레이아웃에 필수적인 Snippet은 반드시 전달해야하도록 Props 타입 수정
This commit is contained in:
1 parent
acb6e1ac6e
commit
b6edc2a8bc
17 files changed
+35
-39
No files matched your search
@@ -9,7 +9,7 @@
|
||||
class?: ClassValue;
|
||||
description?: Snippet;
|
||||
icon?: Component<SvelteHTMLElements["svg"]>;
|
||||
title?: Snippet;
|
||||
title: Snippet;
|
||||
titleClass?: ClassValue;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<div class={["space-y-4 py-4", className]}>
|
||||
<div class="space-y-2 break-keep">
|
||||
<TitleLabel {icon} textClass={titleClassName}>
|
||||
{@render title?.()}
|
||||
{@render title()}
|
||||
</TitleLabel>
|
||||
{#if description}
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user