import { jsx as _jsx } from "react/jsx-runtime";
import { Box } from "ink";
import { TeammateSpinnerLine } from "./TeammateSpinnerLine.js";
export function TeammateSpinnerTree(props) {
    return (_jsx(Box, { flexDirection: "column", children: props.names.map((name, index) => (_jsx(TeammateSpinnerLine, { name: name, active: index === props.activeIndex }, name))) }));
}
