--- order: 1 title: zh-CN: 配合 List 组件 en-US: Usage with list --- ## zh-CN 配合 List 组件展现评论列表。 ## en-US Displaying a series of comments using the `antd` List Component. ```tsx import { Comment, List, Tooltip } from 'antd'; import React from 'react'; const data = [ { actions: [Reply to], author: 'Han Solo', avatar: 'https://joeschmoe.io/api/v1/random', content: (

We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently.

), datetime: ( 8 hours ago ), }, { actions: [Reply to], author: 'Han Solo', avatar: 'https://joeschmoe.io/api/v1/random', content: (

We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently.

), datetime: ( 9 hours ago ), }, ]; const App: React.FC = () => ( (
  • )} /> ); export default App; ```