import { css } from '@emotion/css'; import React from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { Modal, useStyles2 } from '@grafana/ui'; import { CommentManager } from 'app/features/comments/CommentManager'; import { DashboardModel } from '../../state/DashboardModel'; type Props = { dashboard: DashboardModel; onDismiss: () => void; }; export const DashboardCommentsModal = ({ dashboard, onDismiss }: Props) => { const styles = useStyles2(getStyles); return ( ); }; const getStyles = (theme: GrafanaTheme2) => ({ modal: css` width: 500px; height: 60vh; `, });