"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const customize_1 = require("lib/customize");
const A_1 = __importDefault(require("components/misc/A"));
function HelpEmail({ lower }) {
    const { helpEmail } = (0, customize_1.useCustomize)();
    if (!helpEmail)
        return null;
    return ((0, jsx_runtime_1.jsxs)(A_1.default, { href: "mailto:" + helpEmail, external: true, children: [lower ? "e" : "E", "mail ", helpEmail] }));
}
exports.default = HelpEmail;
//# sourceMappingURL=help-email.js.map