@payfit/unity-components
Version:
19 lines (18 loc) • 650 B
JavaScript
import { forwardRef as e } from "react";
import { jsx as t } from "react/jsx-runtime";
import { DialogContext as n } from "react-aria-components/Dialog";
import { useContextProps as r } from "react-aria-components/slots";
//#region src/components/dialog/parts/DialogContent.tsx
var i = e((e, i) => {
[e] = r(e, i, n);
let { children: a, ...o } = e;
return /* @__PURE__ */ t("div", {
id: o["aria-describedby"],
"data-dd-privacy": "mask",
className: "uy:typography-body uy:-m-50 uy:min-h-0 uy:overflow-y-auto uy:p-50 uy:text-content-neutral",
children: a
});
});
i.displayName = "DialogContent";
//#endregion
export { i as DialogContent };