"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
require("react");
const Mantine_context = require("../MantineProvider/Mantine.context.cjs");
const stylesToString = require("./styles-to-string/styles-to-string.cjs");
function InlineStyles(props) {
  const nonce = Mantine_context.useMantineStyleNonce();
  return /* @__PURE__ */ jsxRuntime.jsx(
    "style",
    {
      "data-mantine-styles": "inline",
      nonce: nonce == null ? void 0 : nonce(),
      dangerouslySetInnerHTML: { __html: stylesToString.stylesToString(props) }
    }
  );
}
exports.InlineStyles = InlineStyles;
