mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
15 lines
285 B
TypeScript
15 lines
285 B
TypeScript
|
import React from 'react';
|
||
|
import { Button, Flex } from 'antd';
|
||
|
|
||
|
const Demo: React.FC = () => (
|
||
|
<Flex wrap="wrap" gap="small">
|
||
|
{Array.from({ length: 24 }, (_, i) => (
|
||
|
<Button key={i} type="primary">
|
||
|
Button
|
||
|
</Button>
|
||
|
))}
|
||
|
</Flex>
|
||
|
);
|
||
|
|
||
|
export default Demo;
|