"use strict";

import { forwardRef } from "react";
import { useIOTheme } from "../../../context";
import { IOText } from "../IOText";

/**
 * `MdH3` typographic style
 */
import { jsx as _jsx } from "react/jsx-runtime";
export const MdH3 = /*#__PURE__*/forwardRef(({
  color: customColor,
  ...props
}, ref) => {
  const theme = useIOTheme();
  const MdH3Props = {
    ...props,
    weight: "Semibold",
    size: 16,
    lineHeight: 24,
    color: customColor ?? theme["textHeading-default"]
  };
  return /*#__PURE__*/_jsx(IOText, {
    ref: ref,
    ...MdH3Props,
    children: props.children
  });
});
//# sourceMappingURL=MdH3.js.map