(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "react", "./styles"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var tslib_1 = require("tslib");
    var react_1 = (0, tslib_1.__importStar)(require("react"));
    var styles_1 = require("./styles");
    var H = (0, react_1.forwardRef)(function (_a, ref) {
        var className = _a.className, children = _a.children, size = _a.size, _b = _a.type, type = _b === void 0 ? "aries" : _b, onClick = _a.onClick, color = _a.color, _c = _a.as, as = _c === void 0 ? "span" : _c, _d = _a.fontFamily, fontFamily = _d === void 0 ? "Onest" : _d, props = (0, tslib_1.__rest)(_a, ["className", "children", "size", "type", "onClick", "color", "as", "fontFamily"]);
        return (react_1.default.createElement(styles_1.HStyled, (0, tslib_1.__assign)({ size: size, type: type, onClick: onClick, className: className, color: color, as: as, fontFamily: fontFamily, ref: ref }, props), children));
    });
    H.displayName = "H";
    exports.default = H;
});
