"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 Progress_context = require("../Progress.context.cjs");
const Progress_module_css = require("../Progress.module.css.cjs");
const defaultProps = {};
const ProgressLabel = factory.factory((props, ref) => {
  const { classNames, className, style, styles, vars, ...others } = useProps.useProps(
    "ProgressLabel",
    defaultProps,
    props
  );
  const ctx = Progress_context.useProgressContext();
  return /* @__PURE__ */ jsxRuntime.jsx(
    Box.Box,
    {
      ref,
      ...ctx.getStyles("label", { className, style, classNames, styles }),
      ...others
    }
  );
});
ProgressLabel.classes = Progress_module_css.default;
ProgressLabel.displayName = "@mantine/core/ProgressLabel";
exports.ProgressLabel = ProgressLabel;
