"use client"; import React from "react"; import { Dialog, DialogContent, DialogHeader, DialogTitle, } from "@/components/ui/dialog"; import { ScrollArea } from "@/components/ui/scroll-area"; interface SwpNoteDialogProps { open: boolean; onOpenChange: (open: boolean) => void; title: string; content: string | null; } /** * SWP Note 전체 내용 표시 Dialog * DC Note (NOTE1) 또는 Eng Note (NOTE2)의 전체 내용을 표시합니다. */ export function SwpNoteDialog({ open, onOpenChange, title, content, }: SwpNoteDialogProps) { return ( {title}
{content || 내용이 없습니다.}
); }