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

26 lines
540 B
TypeScript
Raw 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 {
bottomBigStyle,
bottomSmallStyle,
} from "../styles";
type StartNodeProps = {};
const StartNode = (props: StartNodeProps) => {
return (
<div className="start-node node-layout">
<div className="node-content">
<span className="node-title">Начало программы</span>
</div>
<Handle
style={bottomSmallStyle}
type="source"
position={Position.Bottom}
/>
</div>
);
};
export default StartNode;