mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
26 lines
511 B
TypeScript
26 lines
511 B
TypeScript
import React from 'react';
|
|
import { Button, Flex } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex vertical gap="small" style={{ width: '100%' }}>
|
|
<Button type="primary" block>
|
|
Primary
|
|
</Button>
|
|
<Button block>Default</Button>
|
|
<Button type="dashed" block>
|
|
Dashed
|
|
</Button>
|
|
<Button disabled block>
|
|
disabled
|
|
</Button>
|
|
<Button type="text" block>
|
|
text
|
|
</Button>
|
|
<Button type="link" block>
|
|
Link
|
|
</Button>
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|