()
| 63 | }; |
| 64 | |
| 65 | render() { |
| 66 | const { |
| 67 | startAngle, |
| 68 | endAngle, |
| 69 | radius, |
| 70 | offset, |
| 71 | direction, |
| 72 | strokeCap, |
| 73 | strokeWidth, |
| 74 | ...restProps |
| 75 | } = this.props; |
| 76 | |
| 77 | const path = makeArcPath( |
| 78 | (offset.left || 0) + strokeWidth / 2, |
| 79 | (offset.top || 0) + strokeWidth / 2, |
| 80 | startAngle, |
| 81 | endAngle, |
| 82 | radius - strokeWidth / 2, |
| 83 | direction |
| 84 | ); |
| 85 | |
| 86 | return ( |
| 87 | <Path |
| 88 | d={path} |
| 89 | strokeLinecap={strokeCap} |
| 90 | strokeWidth={strokeWidth} |
| 91 | {...restProps} |
| 92 | /> |
| 93 | ); |
| 94 | } |
| 95 | } |
nothing calls this directly
no test coverage detected