import React from 'react';
import Button from '../../button/index.js';

var BackToHomepage = function (_a) {
    var t = _a.t, _b = _a.language, language = _b === void 0 ? 'de' : _b, onButtonClick = _a.onButtonClick, variant = _a.variant;
    var homePageLink = "/".concat(language);
    return (React.createElement(Button, { onClick: function () {
            onButtonClick === null || onButtonClick === void 0 ? void 0 : onButtonClick();
        }, as: "a", href: homePageLink, variant: variant }, t("errorPage.backToHomepage")));
};

export { BackToHomepage as default };
//# sourceMappingURL=BackToHomepage.js.map
