Asteri-Vostok/components/FlowEditor/nodes/Logic/FinishNode.tsx

24 lines
545 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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;