@frontify/fondue
Version:
Design system of Frontify
23 lines (22 loc) • 556 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { merge as i } from "../../utilities/merge.es.js";
import { dialogPaddingMap as r } from "../../types/dialog.es.js";
const m = ({
children: o,
maxHeight: a = "auto",
padding: t = "none",
"data-test-id": d = "fondue-dialog-body"
}) => /* @__PURE__ */ e(
"div",
{
"data-test-id": d,
className: i(["tw-overflow-auto", r[t]]),
style: { maxHeight: a },
children: o
}
);
m.displayName = "FondueDialogBody";
export {
m as DialogBody
};
//# sourceMappingURL=DialogBody.es.js.map