import { jsx } from "react/jsx-runtime";
import { EntryConditionIcon } from "../../icons/index.js";
import { CanvasTooltip } from "../CanvasTooltip.js";
const StageTaskEntryConditionIcon = ({ task })=>{
    if (!task.hasEntryCondition) return null;
    return /*#__PURE__*/ jsx(CanvasTooltip, {
        content: "Entry condition",
        placement: "top",
        children: /*#__PURE__*/ jsx("span", {
            style: {
                display: 'flex',
                alignItems: 'center',
                color: 'var(--color-icon-default)',
                flexShrink: 0
            },
            children: /*#__PURE__*/ jsx(EntryConditionIcon, {
                w: 20,
                h: 20
            })
        })
    });
};
export { StageTaskEntryConditionIcon };
