'use strict';

var React = require('react');
var index = require('./index-3643ff1b.js');
var index$1 = require('./index-98ac1127.js');

function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

var styles = {"loading":"PD6nRZX"};

const Loading = ({ className, size = 'md' }) => {
    const { t } = index.useTranslations();
    return (React__default["default"].createElement("div", { className: `${styles.loading} ${className}` },
        React__default["default"].createElement(index$1.Button, { size: size, color: "transparent", isLoading: true }, t('loading'))));
};

exports.Loading = Loading;
