UNPKG

@yamada-ui/modal

Version:

Yamada UI modal component

34 lines (32 loc) 724 B
"use client" import { ModalBody } from "./chunk-OPXWQC3M.mjs"; import { useDialog } from "./chunk-64A25YOZ.mjs"; // src/dialog-body.tsx import { forwardRef } from "@yamada-ui/core"; import { cx } from "@yamada-ui/utils"; import { jsx } from "react/jsx-runtime"; var DialogBody = forwardRef( ({ className, ...rest }, ref) => { const styles = useDialog(); const css = { ...styles.body }; return /* @__PURE__ */ jsx( ModalBody, { ref, className: cx("ui-dialog__body", className), __css: css, ...rest } ); } ); DialogBody.displayName = "DialogBody"; DialogBody.__ui__ = "DialogBody"; export { DialogBody }; //# sourceMappingURL=chunk-I7XUEPCF.mjs.map