// ui import { CustomDatePicker, Tooltip } from "components/ui"; // helpers import { findHowManyDaysLeft } from "helpers/date-time.helper"; // types import { IIssue } from "types"; type Props = { issue: IIssue; partialUpdateIssue: (formData: Partial) => void; isNotAllowed: boolean; }; export const ViewDueDateSelect: React.FC = ({ issue, partialUpdateIssue, isNotAllowed }) => (
partialUpdateIssue({ target_date: val, }) } className={issue?.target_date ? "w-[6.5rem]" : "w-[3rem] text-center"} disabled={isNotAllowed} />
);