ant-design/components/progress/demo/linecap.tsx
2024-04-12 12:10:38 +08:00

15 lines
389 B
TypeScript

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