import { __assign, __rest } from "tslib";
import React, { forwardRef } from "react";
import { HStyled } from "./styles";
var H = 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 = __rest(_a, ["className", "children", "size", "type", "onClick", "color", "as", "fontFamily"]);
    return (React.createElement(HStyled, __assign({ size: size, type: type, onClick: onClick, className: className, color: color, as: as, fontFamily: fontFamily, ref: ref }, props), children));
});
H.displayName = "H";
export default H;
