mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 04:18:28 +08:00
14 lines
320 B
TypeScript
14 lines
320 B
TypeScript
|
import React from 'react';
|
||
|
import { Button, Space } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space size={[8, 16]} wrap>
|
||
|
{new Array(20).fill(null).map((_, index) => (
|
||
|
// eslint-disable-next-line react/no-array-index-key
|
||
|
<Button key={index}>Button</Button>
|
||
|
))}
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|