import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
import React from 'react';
import { Heading } from '@chakra-ui/react';

var H1 = function (_a) {
    var _b = _a.textStyle, textStyle = _b === void 0 ? 'heading1' : _b, children = _a.children, rest = __rest(_a, ["textStyle", "children"]);
    return (React.createElement(Heading, __assign({ as: "h1", textStyle: textStyle }, rest), children));
};
var H2 = function (_a) {
    var _b = _a.textStyle, textStyle = _b === void 0 ? 'heading2' : _b, children = _a.children, rest = __rest(_a, ["textStyle", "children"]);
    return (React.createElement(Heading, __assign({ as: "h2", textStyle: textStyle }, rest), children));
};
var H3 = function (_a) {
    var _b = _a.textStyle, textStyle = _b === void 0 ? 'heading3' : _b, children = _a.children, rest = __rest(_a, ["textStyle", "children"]);
    return (React.createElement(Heading, __assign({ as: "h3", textStyle: textStyle }, rest), children));
};
var H4 = function (_a) {
    var _b = _a.textStyle, textStyle = _b === void 0 ? 'heading4' : _b, children = _a.children, rest = __rest(_a, ["textStyle", "children"]);
    return (React.createElement(Heading, __assign({ as: "h4", textStyle: textStyle }, rest), children));
};
var H5 = function (_a) {
    var _b = _a.textStyle, textStyle = _b === void 0 ? 'heading5' : _b, children = _a.children, rest = __rest(_a, ["textStyle", "children"]);
    return (React.createElement(Heading, __assign({ as: "h5", textStyle: textStyle }, rest), children));
};
var H6 = function (_a) {
    var _b = _a.textStyle, textStyle = _b === void 0 ? 'heading6' : _b, children = _a.children, rest = __rest(_a, ["textStyle", "children"]);
    return (React.createElement(Heading, __assign({ as: "h6", textStyle: textStyle }, rest), children));
};

export { H1, H2, H3, H4, H5, H6 };
//# sourceMappingURL=index.js.map
