import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
import { formatGitStatus } from "../services/status/projectStatus.js";
export function GitStatus(props) {
    const color = !props.git.available ? "gray" : props.git.clean ? "green" : props.git.conflicted > 0 ? "red" : "yellow";
    return _jsx(Text, { color: color, children: formatGitStatus(props.git) });
}
