ant-design/components/progress/demo/format.tsx
lijianan 30f7dcc107
docs: update demo use Space (#39001)
* docs: update demo use Space

* update snap
2022-11-25 19:33:07 +08:00

12 lines
299 B
TypeScript

import React from 'react';
import { Progress, Space } from 'antd';
const App: React.FC = () => (
<Space wrap>
<Progress type="circle" percent={75} format={(percent) => `${percent} Days`} />
<Progress type="circle" percent={100} format={() => 'Done'} />
</Space>
);
export default App;