import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { formatDuration } from './utils';
export function FinishRenderer({ toolDurationMs }) {
    const timeStr = formatDuration(toolDurationMs);
    return (_jsx("div", { className: "text-xs", children: _jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium text-emerald-700 dark:text-emerald-300", children: "Done" }), timeStr && (_jsxs(_Fragment, { children: [_jsx("span", { className: "text-muted-foreground/70", children: "\u00B7" }), _jsx("span", { className: "text-muted-foreground/80", children: timeStr })] }))] }) }));
}
//# sourceMappingURL=FinishRenderer.js.map