"use strict";

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