import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { ChevronUpOutlineMd } from '../../icons/ChevronUpOutlineMd';
import { StyledFab } from './styles';
/**
 * Универсальная кнопка прокрутки содержимого наверх, не содержит логику
 */
export const ScrollToTopButton = forwardRef(({ onClick, className }, ref) => {
    return (_jsx(StyledFab, { ref: ref, color: "default", onClick: onClick, size: "small", className: className, children: _jsx(ChevronUpOutlineMd, {}) }));
});
