import { FC } from "react"; import { observer } from "mobx-react"; import { Crown, Pen, Trash } from "lucide-react"; import { Tooltip } from "@plane/ui"; type TEstimateListItem = { estimateId: string; isAdmin: boolean; isEstimateEnabled: boolean; isEditable: boolean; onEditClick?: (estimateId: string) => void; onDeleteClick?: (estimateId: string) => void; }; export const EstimateListItemButtons: FC = observer((props) => { const { estimateId, isAdmin, isEditable, onDeleteClick } = props; if (!isAdmin || !isEditable) return <>; return (
Upgrade
} position="top" > ); });