"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScrollToTopButton = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("react");
const ChevronUpOutlineMd_1 = require("../../icons/ChevronUpOutlineMd");
const styles_1 = require("./styles");
/**
 * Универсальная кнопка прокрутки содержимого наверх, не содержит логику
 */
exports.ScrollToTopButton = (0, react_1.forwardRef)(({ onClick, className }, ref) => {
    return ((0, jsx_runtime_1.jsx)(styles_1.StyledFab, { ref: ref, color: "default", onClick: onClick, size: "small", className: className, children: (0, jsx_runtime_1.jsx)(ChevronUpOutlineMd_1.ChevronUpOutlineMd, {}) }));
});
