refactor special request & time estimate components
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user