UNPKG

@mankindui/core

Version:

- a react component library - you can see how @mankindui/core can be used via examples: [usage examples](https://github.com/clarklindev/mankindui-test)

10 lines (9 loc) 438 B
import { j as n } from "../../_virtual/jsx-runtime.js"; const r = "pt-4 pb-4 whitespace-pre-wrap break-word", h = ({ as: e, className: s = "", children: a, ...o }) => { const t = ["h1", "h2", "h3", "h4", "h5", "h6"].includes(e) ? e : "h1"; return /* @__PURE__ */ n.jsx(t, { "data-component": "Heading", className: [r, s].filter(Boolean).join(" "), ...o, children: a }); }; export { h as Heading }; //# sourceMappingURL=index.js.map