mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 06:49:32 +08:00
23 lines
398 B
TypeScript
23 lines
398 B
TypeScript
|
import React from 'react';
|
||
|
import { Button } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Button type="primary" danger>
|
||
|
Primary
|
||
|
</Button>
|
||
|
<Button danger>Default</Button>
|
||
|
<Button type="dashed" danger>
|
||
|
Dashed
|
||
|
</Button>
|
||
|
<Button type="text" danger>
|
||
|
Text
|
||
|
</Button>
|
||
|
<Button type="link" danger>
|
||
|
Link
|
||
|
</Button>
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|