summaryrefslogtreecommitdiff
path: root/components/document-lists/vendor-doc-list-client-evcp.tsx
blob: cc9b6804fc8ec71aa803198a186ed82bb695d294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"use client"
import * as React from "react"

import { InformationButton } from "@/components/information/information-button"

interface VendorDocumentsClientEvcpProps {
    children: React.ReactNode
}

export default function VendorDocumentListClientEvcp({
    children,
}: VendorDocumentsClientEvcpProps) {
    return (
        <>
            {/* 상단 영역: 타이틀만 표시 */}
            <div className="flex items-center justify-between">
                {/* 왼쪽: 타이틀 & 설명 */}
                <div>
                    <div className="flex items-center gap-2">
                        <h2 className="text-2xl font-bold tracking-tight">전체 문서 리스트 관리</h2>
                        <InformationButton pagePath="evcp/document-list" />
                    </div>
                    <p className="text-muted-foreground">
                        전체 계약 대상 문서를 관리하고 진행 상황을 추적할 수 있습니다.
                    </p>
                </div>
            </div>
            
            {/* 문서 목록/테이블 영역 */}
            <section className="overflow-hidden rounded-[0.5rem] border bg-background shadow p-5">
                {children}
            </section>
        </>
    )
}