import React from 'react'; import { 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 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}} /> ); export default App;