import React from 'react'; import moment from 'moment'; import { Avatar } from 'antd'; import styles from './index.less'; const ArticleListContent = ({ data: { content, updatedAt, avatar, owner, href } }) => (
{content}
{owner} 发布在 {href} {moment(updatedAt).format('YYYY-MM-DD HH:mm')}
); export default ArticleListContent;