feat: make children as optional

This commit is contained in:
Li Xin 2025-04-22 10:12:16 +08:00
parent da2275b99f
commit b36f36f530

View File

@ -13,7 +13,7 @@ export function ScrollContainer({
scrollShadowColor = "var(--background)",
}: {
className?: string;
children: React.ReactNode;
children?: React.ReactNode;
scrollShadow?: boolean;
scrollShadowColor?: string;
}) {