mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
15 lines
388 B
TypeScript
15 lines
388 B
TypeScript
import React from 'react';
|
|
import { Button, Flex } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex gap="small" wrap="wrap">
|
|
<Button type="primary">Primary Button</Button>
|
|
<Button>Default Button</Button>
|
|
<Button type="dashed">Dashed Button</Button>
|
|
<Button type="text">Text Button</Button>
|
|
<Button type="link">Link Button</Button>
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|