mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
레이아웃에 필수적인 Snippet은 반드시 전달해야하도록 Props 타입 수정
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import type { ClassValue, SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
interface Props {
|
||||
children?: Snippet;
|
||||
children: Snippet;
|
||||
class?: ClassValue;
|
||||
icon?: Component<SvelteHTMLElements["svg"]>;
|
||||
textClass?: ClassValue;
|
||||
@@ -19,6 +19,6 @@
|
||||
{/if}
|
||||
</div>
|
||||
<p class={["text-3xl font-bold", textClassName]}>
|
||||
{@render children?.()}
|
||||
{@render children()}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user