import { jsx as _jsx } from "react/jsx-runtime";
import { Box, Text } from "ink";
export function EventList(props) {
    return (_jsx(Box, { flexDirection: "column", children: props.events.length === 0 ? (_jsx(Text, { color: "gray", children: "No events" })) : (props.events.map((event) => (_jsx(Text, { children: `${event.id} ${event.kind} ${event.runId ?? "-"}` }, event.id)))) }));
}
