mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
7b3adcb5ae
* fix: wireframe style for popconfirm * chore: add demos
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;
|