ant-design/components/steps/demo/wireframe.tsx
MadCcc 7b3adcb5ae
fix: wireframe style for popconfirm ()
* fix: wireframe style for popconfirm

* chore: add demos
2022-12-06 23:14:30 +08:00

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;