import { jsx as _jsx } from "react/jsx-runtime";
import { Box, Text } from "ink";
export function TaskList(props) {
    return (_jsx(Box, { flexDirection: "column", children: props.tasks.length === 0 ? (_jsx(Text, { color: "gray", children: "No tasks" })) : (props.tasks.map((task) => (_jsx(Text, { children: `${task.status} ${task.agent}: ${task.title}` }, task.id)))) }));
}
