fix bottom sheets height

This commit is contained in:
2025-10-15 21:50:15 +03:00
parent c53cd31063
commit 1c509d915d
7 changed files with 29 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ interface ProBottomSheetProps {
showHandle?: boolean;
showCloseButton?: boolean;
backdrop?: boolean;
snapPoints?: string[];
snapPoints?: string[] | number[];
initialSnap?: number;
className?: string;
themeName?: "light" | "dark";
@@ -23,11 +23,11 @@ export function ProBottomSheet({
onClose,
title,
children,
height = "50vh",
height = 500,
showHandle = true,
showCloseButton = true,
backdrop = true,
snapPoints = ["50vh"],
snapPoints = [500],
initialSnap = 0,
className = "",
}: ProBottomSheetProps) {