chore:调度文件拆分
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Icon from "../../components/common/Icon";
|
||||
|
||||
export function ScheduleCanvasHeader({
|
||||
linkSourceId,
|
||||
onCancelLink,
|
||||
}: {
|
||||
linkSourceId: string | null;
|
||||
onCancelLink: () => void;
|
||||
}) {
|
||||
return (
|
||||
<div className="schedule-canvas-title">
|
||||
<div>
|
||||
<strong>流程画布</strong>
|
||||
<span>
|
||||
拖入稳定版本;点击节点右侧圆点,再点击目标左侧圆点完成连线
|
||||
</span>
|
||||
</div>
|
||||
{linkSourceId && (
|
||||
<button type="button" onClick={onCancelLink}>
|
||||
取消连线
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user