"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.MdH1 = void 0;
var _react = require("react");
var _context = require("../../../context");
var _IOText = require("../IOText");
var _jsxRuntime = require("react/jsx-runtime");
/**
 * `MdH1` typographic style
 */
const MdH1 = exports.MdH1 = /*#__PURE__*/(0, _react.forwardRef)(({
  color: customColor,
  ...props
}, ref) => {
  const theme = (0, _context.useIOTheme)();
  const MdH1Props = {
    ...props,
    weight: "Semibold",
    size: 20,
    lineHeight: 24,
    color: customColor ?? theme["textHeading-default"]
  };
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IOText.IOText, {
    ref: ref,
    ...MdH1Props,
    children: props.children
  });
});
//# sourceMappingURL=MdH1.js.map