// ui import { CustomDatePicker } from "components/ui"; import { Tooltip } from "@plane/ui"; // helpers import { renderShortDateWithYearFormat } from "helpers/date-time.helper"; // types import { IIssue } from "types"; type Props = { issue: IIssue; onChange: (date: string | null) => void; handleOnOpen?: () => void; handleOnClose?: () => void; tooltipPosition?: "top" | "bottom"; noBorder?: boolean; disabled: boolean; }; export const ViewStartDateSelect: React.FC = ({ issue, onChange, handleOnOpen, handleOnClose, tooltipPosition = "top", noBorder = false, disabled, }) => { const maxDate = issue.target_date ? new Date(issue.target_date) : null; maxDate?.setDate(maxDate.getDate()); return (
); };