@frontify/fondue
Version:
Design system of Frontify
46 lines (45 loc) • 826 B
JavaScript
import { jsx as u } from "react/jsx-runtime";
import { Box as x } from "../Box/Box.es.js";
import { merge as C } from "../../utilities/merge.es.js";
const T = "fondue-container", y = ({
children: t,
"data-test-id": o = T,
minWidth: e,
maxWidth: a,
maxHeight: r,
minHeight: n,
bg: s,
color: i,
margin: m,
marginX: d,
marginY: p,
padding: c,
paddingX: f,
paddingY: N,
as: l = "div"
}) => /* @__PURE__ */ u(
x,
{
"data-test-id": o,
className: C([s, i]),
style: {
maxWidth: a,
minWidth: e,
maxHeight: r,
minHeight: n
},
margin: m,
marginX: d,
marginY: p,
padding: c,
paddingX: f,
paddingY: N,
as: l,
children: t
}
);
y.displayName = "FondueContainer";
export {
y as Container
};
//# sourceMappingURL=Container.es.js.map