mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 13:37:52 +08:00
27 lines
430 B
TypeScript
27 lines
430 B
TypeScript
|
import React from 'react';
|
||
|
import { Steps } from 'antd';
|
||
|
|
||
|
const description = 'This is a description.';
|
||
|
const App: React.FC = () => (
|
||
|
<Steps
|
||
|
direction="vertical"
|
||
|
current={1}
|
||
|
items={[
|
||
|
{
|
||
|
title: 'Finished',
|
||
|
description,
|
||
|
},
|
||
|
{
|
||
|
title: 'In Progress',
|
||
|
description,
|
||
|
},
|
||
|
{
|
||
|
title: 'Waiting',
|
||
|
description,
|
||
|
},
|
||
|
]}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|