UNPKG

fui-fancyui

Version:
15 lines (14 loc) 565 B
"use client"; import { jsxs as a, jsx as t } from "react/jsx-runtime"; import p from "../../atoms/Typography/Typography.js"; import { StyledHeading as d, LogoWrapper as h } from "./HeaderTitleWithLogo.style.js"; function y(o) { const { title: e, logo: r, themeType: i = "secondary", layer: l = 0, ...n } = o; return /* @__PURE__ */ a(d, { $themeType: i, $layer: l, ...n, children: [ r && /* @__PURE__ */ t(h, { children: r }), e && /* @__PURE__ */ t(p, { variant: "interactiveLg", fontWeight: "bold", children: e }) ] }); } export { y as default };