refactor duplicated code in Label.jsx
refactor duplicated code in Label.jsx

BigDataSamuli/react-d3,yang-wei/rd3,esbullington/react-d3,ernest-rhinozeros/react-d3,BigDataSamuli/react-d3,tobyredd/rd3,ernest-rhinozeros/react-d3,esbullington/react-d3,tobyredd/rd3