Created
June 12, 2016 15:33
-
-
Save petebrowne/b1f8e4290276d7e64e992172ed9cae0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renderSlice(value, i) { | |
let {innerRadius, outerRadius, cornerRadius, padAngle} = this.props; | |
return ( | |
<Slice key={i} | |
innerRadius={innerRadius} | |
outerRadius={outerRadius} | |
cornerRadius={cornerRadius} | |
padAngle={padAngle} | |
value={value} | |
label={value.data} | |
fill={this.colorScale(i)} /> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment