"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const i18n_hooks_1 = require("../../../utils/i18n/i18n.hooks");
const Input_context_1 = require("../Input/Input.context");
const filtered_options_util_1 = __importDefault(require("./filtered-options-util"));
const NoSearchHitsMessage = () => {
    const translate = (0, i18n_hooks_1.useI18n)("Combobox");
    const { inputProps: { id }, } = (0, Input_context_1.useInputContext)();
    return (react_1.default.createElement("div", { className: "aksel-combobox__list-item--no-options", id: filtered_options_util_1.default.getNoHitsId(id) }, translate("noMatches")));
};
exports.default = NoSearchHitsMessage;
//# sourceMappingURL=NoSearchHitsMessage.js.map