UNPKG

@payfit/unity-components

Version:

18 lines (17 loc) 520 B
import { Text as e } from "../../text/Text.js"; import { forwardRef as t } from "react"; import { jsx as n } from "react/jsx-runtime"; //#region src/components/page/parts/PageHeading.tsx var r = t(({ variant: t, ...r }, i) => { let a = t === "title" ? "h1" : "subtitle", o = t === "title" ? "content.neutral" : "content.neutral.low"; return /* @__PURE__ */ n(e, { "data-dd-privacy": "mask", ...r, ref: i, variant: a, color: o }); }); r.displayName = "PageHeading"; //#endregion export { r as PageHeading };