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