Files
talk/client/coral-plugin-pubdate/PubDate.js
T
Wyatt Johnson ae5da93730 linting fixes
2017-05-11 17:44:51 -06:00

12 lines
261 B
JavaScript

import React from 'react';
import {I18n} from '../coral-framework';
const lang = new I18n();
const name = 'coral-plugin-pubdate';
const PubDate = ({created_at}) => <div className={`${name}-text`}>
{lang.timeago(created_at)}
</div>;
export default PubDate;