UNPKG

@anoki/fse-ui

Version:

FSE UI components library

42 lines (41 loc) 897 B
import { j as x } from "./index.es244.js"; import { useMemo as y } from "react"; import { clsx as g } from "./index.es246.js"; import { createSpacingClasses as j } from "./index.es276.js"; import { createColorClasses as u } from "./index.es274.js"; import { createTypographyClasses as h } from "./index.es278.js"; const E = ({ as: o, className: r, display: a, justifyContent: e, alignItems: t, flexWrap: m, style: c, ref: p, ...s }) => { const n = o || "div", l = y(() => { const i = j(s), C = u(s), f = h(s); return [...i, ...C, ...f].join(" "); }, [s]); return /* @__PURE__ */ x.jsx( n, { ref: p, className: g("base-row", r, l), style: { display: a, justifyContent: e, alignItems: t, flexWrap: m, ...c }, ...s } ); }; export { E as Row }; //# sourceMappingURL=index.es9.js.map