18 lines
404 B
TypeScript
18 lines
404 B
TypeScript
import { ContentsDiv, MainDiv, Title } from '@common/business_components/ui'
|
|
import React, { type ReactNode } from 'react'
|
|
type LayoutNode = {
|
|
children : ReactNode
|
|
title : string
|
|
}
|
|
const ContentLayout = ({children, title} : LayoutNode) => {
|
|
return (
|
|
<MainDiv>
|
|
<Title title={title} />
|
|
<ContentsDiv>
|
|
{children}
|
|
</ContentsDiv>
|
|
</MainDiv>
|
|
)
|
|
}
|
|
|
|
export default ContentLayout |