"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearchCounterText = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const uikit_1 = require("@gravity-ui/uikit");
const search_1 = require("../../../i18n/search/index.js");
const qa_1 = require("../qa.js");
const SearchCounterText = ({ counter, style, className }) => {
    return ((0, jsx_runtime_1.jsx)(uikit_1.Text, { whiteSpace: "nowrap", style: style, className: className, qa: qa_1.SearchQA.Counter, children: (0, search_1.i18n)('search_counter', {
            current: String(counter.current),
            total: String(counter.total),
        }) }));
};
exports.SearchCounterText = SearchCounterText;
//# sourceMappingURL=SearchCounter.js.map
