UNPKG

@anoki/fse-marche-ui

Version:

FSE UI components library

49 lines (48 loc) 1.03 kB
import { j as r } from "./index.es137.js"; import { Container as l } from "./index.es6.js"; import { clsx as i } from "./index.es139.js"; import { Row as j } from "./index.es9.js"; const h = ({ as: x = "div", className: e, hasContainer: a = !0, display: o, justifyContent: t, alignItems: n, flexWrap: m, children: s }) => { const c = x, p = () => a ? /* @__PURE__ */ r.jsx( l, { className: i( "min-h-x48 base-row align-items-center py-x12", e ), display: o, justifyContent: t, alignItems: n, flexWrap: m, children: s } ) : /* @__PURE__ */ r.jsx( j, { alignItems: "center", py: "x12", className: i("min-h-x48 ", e), style: { display: o, justifyContent: t, alignItems: n, flexWrap: m }, children: s } ); return /* @__PURE__ */ r.jsx(c, { className: "bg-slate-20", children: p() }); }; export { h as HeaderSlim }; //# sourceMappingURL=index.es17.js.map