mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 20:38:45 +08:00
27 lines
422 B
TypeScript
27 lines
422 B
TypeScript
|
import React from 'react';
|
||
|
import { Steps } from 'antd';
|
||
|
|
||
|
const description = 'This is a description';
|
||
|
const App: React.FC = () => (
|
||
|
<Steps
|
||
|
current={1}
|
||
|
status="error"
|
||
|
items={[
|
||
|
{
|
||
|
title: 'Finished',
|
||
|
description,
|
||
|
},
|
||
|
{
|
||
|
title: 'In Process',
|
||
|
description,
|
||
|
},
|
||
|
{
|
||
|
title: 'Waiting',
|
||
|
description,
|
||
|
},
|
||
|
]}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|