mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
30f7dcc107
* docs: update demo use Space * update snap
16 lines
544 B
TypeScript
16 lines
544 B
TypeScript
import React from 'react';
|
|
import { Progress, Space } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<Progress percent={99.9} strokeColor={{ '0%': '#108ee9', '100%': '#87d068' }} />
|
|
<Progress percent={99.9} status="active" strokeColor={{ from: '#108ee9', to: '#87d068' }} />
|
|
<Space wrap>
|
|
<Progress type="circle" percent={90} strokeColor={{ '0%': '#108ee9', '100%': '#87d068' }} />
|
|
<Progress type="circle" percent={100} strokeColor={{ '0%': '#108ee9', '100%': '#87d068' }} />
|
|
</Space>
|
|
</>
|
|
);
|
|
|
|
export default App;
|