Spaces:
Running
Running
| import React from "react"; | |
| import { | |
| Dialog, | |
| DialogContent, | |
| DialogHeader, | |
| DialogTitle, | |
| } from "@/components/ui/dialog"; | |
| import { EntityImportanceMatrix } from "../visualizations/EntityImportanceMatrix"; | |
| interface EntityAnalysisModalProps { | |
| open: boolean; | |
| onOpenChange: (open: boolean) => void; | |
| } | |
| export function EntityAnalysisModal({ | |
| open, | |
| onOpenChange, | |
| }: EntityAnalysisModalProps) { | |
| return ( | |
| <Dialog open={open} onOpenChange={onOpenChange}> | |
| <DialogContent className="max-w-6xl max-h-[80vh] overflow-y-auto"> | |
| <DialogHeader> | |
| <DialogTitle>Entity Analysis</DialogTitle> | |
| </DialogHeader> | |
| <div className="mt-4"> | |
| <EntityImportanceMatrix /> | |
| </div> | |
| </DialogContent> | |
| </Dialog> | |
| ); | |
| } | |