UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

16 lines (15 loc) 477 B
import { jsxs as m, jsx as r } from "react/jsx-runtime"; import { Heading as s } from "./Heading.js"; import { Prose as a } from "../Prose.js"; const x = ({ level: e, children: t, subtitle: o }) => /* @__PURE__ */ m("hgroup", { children: [ /* @__PURE__ */ r(s, { className: "text-b2 font-semibold", level: e, children: t }), !!o && /* @__PURE__ */ r(a, { className: "text-b3", text: o }) ] }); export { x as HeadingGroup }; //# sourceMappingURL=HeadingGroup.js.map