import React__default from 'react';
import classnames from 'classnames';

var styles = {"container":"Aj6o8FcaKHc-","apply":"eIsVvlXoWhs-","spinning":"XRPRymOwkKg-"};

const Container = ({ children, name, className, as: Tag = "div", autoWidth = false, dataAttributes, ariaAttributes, role, id, }) => {
    return (React__default.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: {
            "--public-container-name": name,
            "--public-container-width": autoWidth ? "auto" : "100%",
        }, className: classnames(styles.container, className) }), children));
};
Container.Apply = function Apply({ children, className, style = {}, autoWidth = false, }) {
    return (React__default.createElement("div", { style: Object.assign(Object.assign({}, style), { "--public-container-apply-width": autoWidth ? "auto" : "100%" }), className: classnames(className, styles.apply) }, children));
};

export { Container as C };
