UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

12 lines (9 loc) 499 B
'use client'; import { jsx } from 'react/jsx-runtime'; import { Portal } from '../portal/portal.js'; import { DatePickerParts } from './parts.js'; function DatePickerContent(props) { const { withModal, container, ...contentProps } = props; return /* @__PURE__ */ jsx(Portal, { disabled: withModal ?? false, container, children: /* @__PURE__ */ jsx(DatePickerParts.Positioner, { children: /* @__PURE__ */ jsx(DatePickerParts.Content, { ...contentProps }) }) }); } export { DatePickerContent };