/** * πŸ“„ Content Layout Component * μ½˜ν…μΈ  λ ˆμ΄μ•„μ›ƒ μ»΄ν¬λ„ŒνŠΈ * * - 제λͺ© ν‘œμ‹œ 및 μ½˜ν…μΈ  μ˜μ—­ 제곡 * - λ‘œλ”© μ˜€λ²„λ ˆμ΄λ₯Ό ν†΅ν•œ μ‚¬μš©μž ν”Όλ“œλ°± * - 곡톡 λ ˆμ΄μ•„μ›ƒ ꡬ쑰 적용 (MainDiv, Title, ContentsDiv) * - 쑰건뢀 λ‘œλ”© μƒνƒœ λ Œλ”λ§ * - 클래슀λͺ… 기반 μŠ€νƒ€μΌλ§ 지원 * - μž¬μ‚¬μš© κ°€λŠ₯ν•œ λ ˆμ΄μ•„μ›ƒ μ»΄ν¬λ„ŒνŠΈ */ 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 ( <ContentsDiv> <LoadingOverlay isLoading={isLoading ?? false}/> {children} </ContentsDiv> </MainDiv> ) } export default ContentLayout