"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 aksel_icons_1 = require("@navikt/aksel-icons");
const helpers_1 = require("../../../utils/helpers");
function ScrollButton({ hidden, onClick, dir }) {
    return (react_1.default.createElement("div", { className: (0, helpers_1.cl)("aksel-tabs__scroll-button", {
            "aksel-tabs__scroll-button--hidden": hidden,
        }), onClick: onClick, "aria-hidden": true }, dir === "left" ? react_1.default.createElement(aksel_icons_1.ChevronLeftIcon, null) : react_1.default.createElement(aksel_icons_1.ChevronRightIcon, null)));
}
exports.default = ScrollButton;
//# sourceMappingURL=ScrollButtons.js.map