import dynamic from "next/dynamic"; import React from "react"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { DropdownMenuItem } from "@/components/ui/dropdown-menu"; export const DockerLogsId = dynamic( () => import("@/components/dashboard/docker/logs/docker-logs-id").then( (e) => e.DockerLogsId, ), { ssr: false, }, ); interface Props { containerId: string; children?: React.ReactNode; } export const ShowDockerModalLogs = ({ containerId, children }: Props) => { return ( e.preventDefault()} > {children} View Logs View the logs for {containerId}
); };