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

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

15 lines
351 B
TypeScript

import React from 'react';
import { Progress, Space } from 'antd';
const App: React.FC = () => (
<>
<Progress strokeLinecap="butt" percent={75} />
<Space wrap>
<Progress strokeLinecap="butt" type="circle" percent={75} />
<Progress strokeLinecap="butt" type="dashboard" percent={75} />
</Space>
</>
);
export default App;