import React__default from 'react';
import { u as useTranslations } from './index-960c3169.js';
import { B as Button } from './index-96c62ad5.js';

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

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

export { Loading as L };
