import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
import { cnb } from "cnbuilder";
/**
 * **Server Component**
 *
 * @since 6.0.0
 * @internal
 */ export function DialogContainer(props) {
    const { className, enabled, children, ...remaining } = props;
    if (!enabled) {
        return /*#__PURE__*/ _jsx(_Fragment, {
            children: children
        });
    }
    return /*#__PURE__*/ _jsx("div", {
        ...remaining,
        className: cnb("rmd-dialog-container", className),
        children: children
    });
}

//# sourceMappingURL=DialogContainer.js.map