refactor special request & time estimate components

This commit is contained in:
2025-10-11 10:55:19 +03:00
parent cef2804ee6
commit 3ea54c0b3d
9 changed files with 69 additions and 86 deletions

View File

@@ -1,6 +1,6 @@
import { useTranslation } from "react-i18next";
import { ProBottomSheet } from "components/ProBottomSheet/ProBottomSheet.tsx";
import Content from "pages/cart/components/timeEstimate/Content.tsx";
import { useTranslation } from "react-i18next";
interface EstimateTimeBottomSheetProps {
isOpen: boolean;
@@ -24,8 +24,8 @@ export function BottomSheet({
title={t("cart.selectTimeEstimate")}
showCloseButton={true}
initialSnap={1}
height={"50vh"}
snapPoints={["50vh", "60vh"]}
height={"510px"}
snapPoints={["65vh"]}
>
<Content onSave={onSave} initialDate={initialDate} onClose={onClose} />
</ProBottomSheet>