Files
frontend/apps/sn/app/components/ui/contentLayout.tsx
T
swcho a7216dfcc6 feat:
- 침입수 분석 화면 변수명 오타 수정
- 분석결과 화면 수정 및 조회 기능 구현, 파일 다운로드, 삭제 구현중
- 중점우수토실 상세정보 화면 구현
- verticalTable.tsx에 테이블 추가
- contentLayout.tsx에 className prop 추가
- fileDownload.ts에 BASE_URL 추가
2025-06-05 17:13:25 +09:00

22 lines
570 B
TypeScript

import { ContentsDiv, MainDiv, Title } from '@common/business_components/ui'
import React, { type ReactNode } from 'react'
import LoadingOverlay from './LoadingBar'
type LayoutNode = {
children : ReactNode
title : string
isLoading?: boolean
className?: string
}
const ContentLayout = ({children, title, isLoading, className} : LayoutNode) => {
return (
<MainDiv>
<Title title={title} />
<ContentsDiv>
<LoadingOverlay isLoading={isLoading ?? false}/>
{children}
</ContentsDiv>
</MainDiv>
)
}
export default ContentLayout