UNPKG

cjd-parkball

Version:

> 中后台业务组件库,中后台就像公园,进入需要买门票(登录),所以以 Parkball(公园球) 命名,公园内必定捕获!作为一个组件库,提供使用方法文档,方便开发者的调用

26 lines (19 loc) 554 B
--- category: 20 title: 圆角/方角边缘 title_en: Square linecaps --- zh-CN 通过设定 `strokeLinecap="square|round"` 可以调整进度条边缘的形状。 en-US By setting `strokeLinecap="square"`, you can change the linecaps from round to square. ````jsx import { Progress } from 'parkball'; ReactDOM.render( <div> <Progress strokeLinecap="square" percent={75} /> <Progress strokeLinecap="square" type="circle" percent={75} /> <Progress strokeLinecap="square" type="dashboard" percent={75} /> </div>, mountNode); ````