import { Box, Button, Modal, Typography, useMediaQuery, useTheme, } from "@mui/material"; import { FC } from "react"; import { DatePicker } from "@mui/x-date-pickers"; import CustomCheckbox from "@ui_kit/CustomCheckbox"; import CalendarIcon from "@icons/CalendarIcon"; interface Iprops { open: boolean; handleClose: () => void; } export const ExportContactsModal: FC = ({ open, handleClose }) => { const theme = useTheme(); const isMobile = useMediaQuery(theme.breakpoints.down(650)); const style = { position: "absolute" as "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", width: "100%", maxWidth: isMobile ? 343 : 620, bgcolor: "background.paper", boxShadow: 24, borderRadius: "12px", }; return ( Настройте фильтры отображения c , }} slotProps={{ openPickerButton: { sx: { p: 0, }, "data-cy": "open-datepicker", }, }} sx={{ p: "10px", "& .MuiInputBase-root": { maxWidth: "250px", width: "100%", backgroundColor: "#F2F3F7", borderRadius: "10px", pr: "31px", "& input": { py: "11px", pl: "13px", lineHeight: "19px", }, "& fieldset": { borderColor: "#9A9AAF", }, }, }} /> до , }} slotProps={{ openPickerButton: { sx: { p: 0, }, "data-cy": "open-datepicker", }, }} sx={{ p: "10px", "& .MuiInputBase-root": { maxWidth: "250px", width: "100%", backgroundColor: "#F2F3F7", borderRadius: "10px", pr: "31px", "& input": { py: "11px", pl: "13px", lineHeight: "19px", }, "& fieldset": { borderColor: "#9A9AAF", }, }, }} /> ); };