Skip to content

Instantly share code, notes, and snippets.

@petebrowne
Created June 12, 2016 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petebrowne/953255f645e969db970a56fbe4315d11 to your computer and use it in GitHub Desktop.
Save petebrowne/953255f645e969db970a56fbe4315d11 to your computer and use it in GitHub Desktop.
renderSlice(value, i) {
return (
<Slice key={i}
outerRadius={this.props.radius}
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