import { ModalBody, ModalFooter, ModalHeader, ModalRoot, ModalStep } from './Modal.parts.tsx'

export const Modal = Object.assign(ModalRoot, {
  Header: ModalHeader,
  Body: ModalBody,
  Footer: ModalFooter,
  Step: ModalStep,
})

export type {
  ModalBodyProps,
  ModalFooterProps,
  ModalHeaderProps,
  ModalProps,
  ModalStepProps,
} from './Modal.parts.tsx'
