mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-25 13:41:43 +08:00
14 lines
322 B
TypeScript
14 lines
322 B
TypeScript
import React from 'react';
|
|
import { Button, Space } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space size={[8, 16]} wrap>
|
|
{Array.from({ length: 20 }).map((_, index) => (
|
|
// eslint-disable-next-line react/no-array-index-key
|
|
<Button key={index}>Button</Button>
|
|
))}
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|