import { jsx as _jsx } from "react/jsx-runtime";
import { Box, Text } from "ink";
import { ApprovalGateCard } from "./ApprovalGateCard.js";
export function ApprovalList(props) {
    return (_jsx(Box, { flexDirection: "column", children: props.gates.length === 0 ? (_jsx(Text, { color: "gray", children: "No approval gates" })) : (props.gates.map((gate) => (_jsx(ApprovalGateCard, { gate: gate, projectPath: props.projectPath, showRun: true }, gate.id)))) }));
}
