import React from "react";
import { ChevronLeftIcon, ChevronRightIcon } from "@navikt/aksel-icons";
import { cl } from "../../../utils/helpers/index.js";
function ScrollButton({ hidden, onClick, dir }) {
    return (React.createElement("div", { className: cl("aksel-tabs__scroll-button", {
            "aksel-tabs__scroll-button--hidden": hidden,
        }), onClick: onClick, "aria-hidden": true }, dir === "left" ? React.createElement(ChevronLeftIcon, null) : React.createElement(ChevronRightIcon, null)));
}
export default ScrollButton;
//# sourceMappingURL=ScrollButtons.js.map