16 lines
401 B
TypeScript
16 lines
401 B
TypeScript
import Body from "./Body"
|
|
import Footer from "./Footer"
|
|
import Header from "./Header"
|
|
|
|
import styles from "./modalContent.module.css"
|
|
|
|
import type { PropsWithChildren } from "react"
|
|
|
|
export default function ModalContent({ children }: PropsWithChildren) {
|
|
return <div className={styles.container}>{children}</div>
|
|
}
|
|
|
|
ModalContent.Body = Body
|
|
ModalContent.Footer = Footer
|
|
ModalContent.Header = Header
|