import ArticleListContent from '@/components/ArticleListContent'; import { IListModelState } from '@/models/list'; import { Icon, List, Tag } from 'antd'; import { connect } from 'dva'; import React from 'react'; import styles from './Articles.less'; interface ArticlesProps { list: IListModelState; } const Center: React.FC = props => { const { list: { list }, } = props; const IconText = ({ type, text }) => ( {text} ); return ( ( , , , ]} > {item.title} } description={ Ant Design 设计语言 蚂蚁金服 } /> )} /> ); }; export default connect(({ list }) => ({ list, }))(Center);