import React from 'react'; import { Avatar, ConfigProvider, Divider, List, Typography } from 'antd'; const data = [ 'Racing car sprays burning fuel into crowd.', 'Japanese princess to wed commoner.', 'Australian walks 100km after outback crash.', 'Man charged over missing wedding girl.', 'Los Angeles battles huge wildfires.', ]; const data1 = [ { title: 'Ant Design Title 1', }, { title: 'Ant Design Title 2', }, { title: 'Ant Design Title 3', }, { title: 'Ant Design Title 4', }, ]; const App: React.FC = () => ( Default Size Header} footer={
Footer
} bordered dataSource={data} renderItem={(item) => ( [ITEM] {item} )} /> Small Size Header} footer={
Footer
} bordered dataSource={data} renderItem={(item) => {item}} /> Large Size Header} footer={
Footer
} bordered dataSource={data} renderItem={(item) => {item}} /> Meta ( } title={{item.title}} description="Ant Design, a design language for background applications, is refined by Ant UED Team" /> )} /> Vertical ( } title={{item.title}} description="Ant Design, a design language for background applications, is refined by Ant UED Team" /> )} /> Empty Text
); export default App;