"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
require("react");
require("clsx");
const useProps = require("../../../core/MantineProvider/use-props/use-props.cjs");
const Box = require("../../../core/Box/Box.cjs");
const factory = require("../../../core/factory/factory.cjs");
const AppShell_context = require("../AppShell.context.cjs");
const AppShell_module_css = require("../AppShell.module.css.cjs");
const defaultProps = {};
const AppShellMain = factory.factory((_props, ref) => {
  const props = useProps.useProps("AppShellMain", defaultProps, _props);
  const { classNames, className, style, styles, vars, ...others } = props;
  const ctx = AppShell_context.useAppShellContext();
  return /* @__PURE__ */ jsxRuntime.jsx(
    Box.Box,
    {
      component: "main",
      ref,
      ...ctx.getStyles("main", { className, style, classNames, styles }),
      ...others
    }
  );
});
AppShellMain.classes = AppShell_module_css.default;
AppShellMain.displayName = "@mantine/core/AppShellMain";
exports.AppShellMain = AppShellMain;
