import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function submitQuestionsLabel(answered, total) {
    return `${Math.max(0, answered)}/${Math.max(0, total)} answered`;
}
export function SubmitQuestionsView(props) {
    return _jsx(Text, { color: props.answered >= props.total ? "green" : "yellow", children: submitQuestionsLabel(props.answered, props.total) });
}
