mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
15 lines
381 B
TypeScript
15 lines
381 B
TypeScript
import React from 'react';
|
|
import { Button, Flex } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex gap="small" 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;
|