mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
479 B
479 B
order | title | ||||
---|---|---|---|---|---|
10 |
|
zh-CN
strokeLinecap="square"
en-US
By setting strokeLinecap="square
, you can change the linecaps from round to square.
import { Progress } from 'antd';
ReactDOM.render(
<div>
<Progress strokeLinecap="square" percent={75} />
<Progress strokeLinecap="square" type="circle" percent={75} />
<Progress strokeLinecap="square" type="dashboard" percent={75} />
</div>,
mountNode);