import React from 'react'; import timeago from 'timeago.js'; import Linkify from 'react-linkify'; import styles from './ModerationList.css'; import I18n from 'coral-framework/modules/i18n/i18n'; import translations from '../translations.json'; import Highlighter from 'react-highlight-words'; import {Icon} from 'coral-ui'; import ActionButton from './ActionButton'; const linkify = new Linkify(); // Render a single comment for the list const Comment = props => { const {comment, author} = props; let authorStatus = author.status; const links = linkify.getMatches(comment.body); return (
{lang.t('comment.flagged')}
: null}