import { Handle, Position } from "react-flow-renderer";
import {
    topDoubleRightStyle,
} from "../styles";

type FinishNodeProps = {};

const FinishNode = (props: FinishNodeProps) => {
  return (
    <div className="finish-node node-layout">
        <Handle
            style={topDoubleRightStyle}
            type="target"
            position={Position.Top}
        />
      <div className="node-content">
        <span className="node-title">Конец программы</span>
      </div>

    </div>
  );
};

export default FinishNode;