import { jsx as _jsx } from "react/jsx-runtime";
import { Box, Text } from "ink";
export function RunList(props) {
    return (_jsx(Box, { flexDirection: "column", children: props.runs.length === 0 ? (_jsx(Text, { color: "gray", children: "No runs" })) : (props.runs.map((run) => (_jsx(Text, { children: `${run.status} ${run.actionCount}a ${run.artifactCount}f ${run.message}` }, run.id)))) }));
}
