@cerberus-design/react
Version:
The Cerberus Design React component library.
13 lines (10 loc) • 435 B
JavaScript
import { jsxs, jsx } from 'react/jsx-runtime';
import { Portal } from '../portal/portal.js';
import { DialogBackdrop, DialogPositioner, DialogContent } from './primitives.js';
function Dialog(props) {
return /* @__PURE__ */ jsxs(Portal, { children: [
/* @__PURE__ */ jsx(DialogBackdrop, {}),
/* @__PURE__ */ jsx(DialogPositioner, { children: /* @__PURE__ */ jsx(DialogContent, { ...props }) })
] });
}
export { Dialog };