mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
58 lines
1.2 KiB
TypeScript
58 lines
1.2 KiB
TypeScript
|
import React from 'react';
|
||
|
import { Divider, Steps } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<Steps
|
||
|
progressDot
|
||
|
current={1}
|
||
|
size="small"
|
||
|
items={[
|
||
|
{
|
||
|
title: 'Finished',
|
||
|
description: 'This is a description.',
|
||
|
},
|
||
|
{
|
||
|
title: 'In Progress',
|
||
|
description: 'This is a description.',
|
||
|
},
|
||
|
{
|
||
|
title: 'Waiting',
|
||
|
description: 'This is a description.',
|
||
|
},
|
||
|
]}
|
||
|
/>
|
||
|
<Divider />
|
||
|
<Steps
|
||
|
progressDot
|
||
|
current={1}
|
||
|
direction="vertical"
|
||
|
size="small"
|
||
|
items={[
|
||
|
{
|
||
|
title: 'Finished',
|
||
|
description: 'This is a description. This is a description.',
|
||
|
},
|
||
|
{
|
||
|
title: 'Finished',
|
||
|
description: 'This is a description. This is a description.',
|
||
|
},
|
||
|
{
|
||
|
title: 'In Progress',
|
||
|
description: 'This is a description. This is a description.',
|
||
|
},
|
||
|
{
|
||
|
title: 'Waiting',
|
||
|
description: 'This is a description.',
|
||
|
},
|
||
|
{
|
||
|
title: 'Waiting',
|
||
|
description: 'This is a description.',
|
||
|
},
|
||
|
]}
|
||
|
/>
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|