// components import { observer } from "mobx-react-lite"; import { TIssue } from "@plane/types"; import { EstimateDropdown } from "@/components/dropdowns"; // types type Props = { issue: TIssue; onClose: () => void; onChange: (issue: TIssue, data: Partial, updates: any) => void; disabled: boolean; }; export const SpreadsheetEstimateColumn: React.FC = observer((props: Props) => { const { issue, onChange, disabled, onClose } = props; return (
onChange(issue, { estimate_point: data }, { changed_property: "estimate_point", change_details: data }) } placeholder="Estimate" projectId={issue.project_id} disabled={disabled} buttonVariant="transparent-with-text" buttonClassName="rounded-none text-left" buttonContainerClassName="w-full" onClose={onClose} />
); });