mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
25 lines
625 B
TypeScript
25 lines
625 B
TypeScript
import React from "react";
|
|
import { observer } from "mobx-react";
|
|
import { IEstimate } from "@plane/types";
|
|
|
|
// components
|
|
import { EModalPosition, EModalWidth, ModalCore } from "@/components/core";
|
|
|
|
type Props = {
|
|
isOpen: boolean;
|
|
handleClose: () => void;
|
|
data?: IEstimate;
|
|
};
|
|
|
|
export const DeleteEstimateModal: React.FC<Props> = observer((props) => {
|
|
const { handleClose, isOpen, data } = props;
|
|
|
|
console.log("data", data);
|
|
|
|
return (
|
|
<ModalCore isOpen={isOpen} handleClose={handleClose} position={EModalPosition.TOP} width={EModalWidth.XXL}>
|
|
<div>Delete Estimate Modal</div>
|
|
</ModalCore>
|
|
);
|
|
});
|