"use client" import * as React from "react" import { Dialog, DialogContent, DialogHeader, DialogTitle } from "./dialog" import { Button } from "./button" import { Eye } from "lucide-react" interface PreviewDialogProps { children: React.ReactNode title?: string } export function PreviewDialog({ children, title = "预览效果" }: PreviewDialogProps) { const [open, setOpen] = React.useState(false) return ( <> {title}
{children}
) }