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

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

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;