MCPcopy Create free account
hub / github.com/ElemeFE/element-react / relativeStrokeWidth

Method relativeStrokeWidth

src/progress/Progress.jsx:26–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 relativeStrokeWidth(): string {
27 const { strokeWidth, width } = this.props;
28 return (strokeWidth / width * 100).toFixed(1);
29 }
30
31 trackPath(): string {
32 const radius = parseInt(

Callers 3

trackPathMethod · 0.95
perimeterMethod · 0.95
renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected