"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/jsx-runtime.js"),n=require("../styles.js");const a=({variant:s,headerVariant:i,title:r,secondaryText:t,"data-testid":u,"data-trackid":d})=>e.jsxRuntimeExports.jsxs(n.Header,{variant:s,headerVariant:i,"data-testid":u,"data-trackid":d,children:[typeof r=="string"?e.jsxRuntimeExports.jsx("h2",{children:r}):{title:r},t&&typeof t=="string"||t===""?e.jsxRuntimeExports.jsx("p",{children:t}):e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:typeof t<"u"&&t})]});exports.default=a;
