UNPKG

@anoki/fse-ui

Version:

FSE UI components library

64 lines (63 loc) 1.6 kB
import { j as r } from "./index.es278.js"; import { HeaderMobile as l } from "./index.es318.js"; import { HeaderDesktop as h } from "./index.es319.js"; import { useMediaQuery as H } from "./index.es320.js"; import './components/navigations/Header/Header.css';/* empty css */ import { Lazio as n } from "./index.es179.js"; import { Marche as u } from "./index.es188.js"; import { FseOperators as z } from "./index.es147.js"; import { Fse as F } from "./index.es142.js"; const Q = { nazionale: F, operatori: z, marche: u, lazio: n }, R = ({ title: p, region: m, shortTitle: s, asLink: t = "a", navigatonItems: e, labels: a, supportLink: o, loginLink: i, headerTitleClassname: c, headerLogoUrl2: f, children: x, variant: d = "default" }) => { const j = H("(min-width: 1200px)"); return /* @__PURE__ */ r.jsx(r.Fragment, { children: j ? /* @__PURE__ */ r.jsx("div", { className: "desktopHeader", children: /* @__PURE__ */ r.jsx( h, { title: p, region: m, asLink: t, labels: a, navigatonItems: e, supportLink: o, loginLink: i, shortTitle: s, headerTitleClassname: c, headerLogoUrl2: f, variant: d, children: x } ) }) : /* @__PURE__ */ r.jsx("div", { className: "mobileHeader", children: /* @__PURE__ */ r.jsx( l, { shortTitle: s, region: m, asLink: t, navigatonItems: o ? [...e, o] : e, labels: a, loginLink: i, variant: d } ) }) }); }; export { R as Header, Q as LOGOS }; //# sourceMappingURL=index.es161.js.map