"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = BackButton;
const react_1 = __importDefault(require("react"));
const react_i18next_1 = require("react-i18next");
const Translation_1 = require("translations/Translation");
const BEButton_1 = __importDefault(require("./BEButton"));
const Icon_1 = require("./Icon/Icon");
function BackButton(props) {
    const { t } = (0, react_i18next_1.useTranslation)();
    return (react_1.default.createElement(BEButton_1.default, { size: "tiny", isText: true, onClick: props.onClick, icon: Icon_1.IconType.ArrowLeft }, t(Translation_1.Translation.Navigation.Back).toUpperCase()));
}
//# sourceMappingURL=BackButton.js.map