feat: refactor of my stay
This commit is contained in:
committed by
Simon.Emanuelsson
parent
b5deb84b33
commit
ec087a3d15
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user