import React from 'react'; import cn from 'classnames'; import styles from './Comment.css'; import { t } from 'plugin-api/beta/client/services'; import { Slot, CommentAuthorName, CommentTimestamp, CommentContent, } from 'plugin-api/beta/client/components'; import { Icon } from 'plugin-api/beta/client/components/ui'; import { pluginName } from '../../package.json'; import FeaturedButton from '../containers/FeaturedButton'; class Comment extends React.Component { viewComment = () => { this.props.viewComment(this.props.comment.id); }; render() { const { comment, asset, root, data } = this.props; const queryData = { comment, asset, root }; return (