"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.heroLineHeight = exports.heroFontSize = exports.Hero = void 0;
var _react = require("react");
var _context = require("../../context");
var _IOText = require("./IOText");
var _jsxRuntime = require("react/jsx-runtime");
const heroFontSize = exports.heroFontSize = 32;
const heroLineHeight = exports.heroLineHeight = 48;

/**
 * `Hero` typographic style
 */
const Hero = exports.Hero = /*#__PURE__*/(0, _react.forwardRef)(({
  color: customColor,
  ...props
}, ref) => {
  const theme = (0, _context.useIOTheme)();
  const HeroProps = {
    ...props,
    weight: "Semibold",
    size: 32,
    lineHeight: 48,
    color: customColor ?? theme["textHeading-default"]
  };
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IOText.IOText, {
    ref: ref,
    ...HeroProps,
    children: props.children
  });
});
//# sourceMappingURL=Hero.js.map