fix bottom sheets height
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user