()
| 29 | }; |
| 30 | |
| 31 | render() { |
| 32 | const { radius, offset, strokeWidth, direction, ...restProps } = this.props; |
| 33 | const path = makeCirclePath( |
| 34 | (offset.left || 0) + strokeWidth / 2, |
| 35 | (offset.top || 0) + strokeWidth / 2, |
| 36 | radius - strokeWidth / 2, |
| 37 | direction |
| 38 | ); |
| 39 | return ( |
| 40 | <Path |
| 41 | d={path} |
| 42 | strokeLinecap="butt" |
| 43 | strokeWidth={strokeWidth} |
| 44 | {...restProps} |
| 45 | /> |
| 46 | ); |
| 47 | } |
| 48 | } |
nothing calls this directly
no test coverage detected