import React from 'react'; import timeago from 'timeago.js'; import styles from './CommentList.css'; import I18n from 'coral-framework/modules/i18n/i18n'; import translations from '../translations.json'; import Linkify from 'react-linkify'; import {FabButton} from 'coral-ui'; import {Icon} from 'react-mdl'; const linkify = new Linkify(); // Render a single comment for the list export default props => { const {comment, author} = props; const links = linkify.getMatches(comment.get('body')); return (
{lang.t('comment.flagged')}
: null}