mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
29 lines
570 B
TypeScript
29 lines
570 B
TypeScript
|
import React from 'react';
|
||
|
import { ConfigProvider, Steps } from 'antd';
|
||
|
|
||
|
const description = 'This is a description.';
|
||
|
const App: React.FC = () => (
|
||
|
<ConfigProvider theme={{ token: { wireframe: true } }}>
|
||
|
<Steps
|
||
|
current={1}
|
||
|
items={[
|
||
|
{
|
||
|
title: 'Finished',
|
||
|
description,
|
||
|
},
|
||
|
{
|
||
|
title: 'In Progress',
|
||
|
description,
|
||
|
subTitle: 'Left 00:00:08',
|
||
|
},
|
||
|
{
|
||
|
title: 'Waiting',
|
||
|
description,
|
||
|
},
|
||
|
]}
|
||
|
/>
|
||
|
</ConfigProvider>
|
||
|
);
|
||
|
|
||
|
export default App;
|