mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 08:33:00 +08:00
33 lines
653 B
TypeScript
33 lines
653 B
TypeScript
|
import React from 'react';
|
||
|
import { LoadingOutlined, SmileOutlined, SolutionOutlined, UserOutlined } from '@ant-design/icons';
|
||
|
import { Steps } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Steps
|
||
|
items={[
|
||
|
{
|
||
|
title: 'Login',
|
||
|
status: 'finish',
|
||
|
icon: <UserOutlined />,
|
||
|
},
|
||
|
{
|
||
|
title: 'Verification',
|
||
|
status: 'finish',
|
||
|
icon: <SolutionOutlined />,
|
||
|
},
|
||
|
{
|
||
|
title: 'Pay',
|
||
|
status: 'process',
|
||
|
icon: <LoadingOutlined />,
|
||
|
},
|
||
|
{
|
||
|
title: 'Done',
|
||
|
status: 'wait',
|
||
|
icon: <SmileOutlined />,
|
||
|
},
|
||
|
]}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|