"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 useStyles = require("../../core/styles-api/use-styles/use-styles.cjs");
const Box = require("../../core/Box/Box.cjs");
const factory = require("../../core/factory/factory.cjs");
const TypographyStylesProvider_module_css = require("./TypographyStylesProvider.module.css.cjs");
const defaultProps = {};
const TypographyStylesProvider = factory.factory((_props, ref) => {
  const props = useProps.useProps("TypographyStylesProvider", defaultProps, _props);
  const { classNames, className, style, styles, unstyled, ...others } = props;
  const getStyles = useStyles.useStyles({
    name: "TypographyStylesProvider",
    classes: TypographyStylesProvider_module_css.default,
    props,
    className,
    style,
    classNames,
    styles,
    unstyled
  });
  return /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { ref, ...getStyles("root"), ...others });
});
TypographyStylesProvider.classes = TypographyStylesProvider_module_css.default;
TypographyStylesProvider.displayName = "@mantine/core/TypographyStylesProvider";
exports.TypographyStylesProvider = TypographyStylesProvider;
