import React from "react";
import CollaborationCommentsDialog from "./CollaborationCommentsDialog";

interface CommentCollaborationRecordProps {
  collaborationId: string;
  recordId: string;
  contentId?: string;
  onClose: () => void;
  recordStatus: string;
}

const CommentCollaborationRecord: React.FC<CommentCollaborationRecordProps> = ({
  collaborationId,
  recordId,
  contentId,
  onClose,
  recordStatus,
}) => {
  return (
    <CollaborationCommentsDialog
      open={true}
      onClose={onClose}
      recordId={recordId}
      contentId={contentId}
      collaborationId={collaborationId}
      recordStatus={recordStatus}
    />
  );
};

export default CommentCollaborationRecord;
