style={{ color: props.color || conf.color, …conf.style, …props.style}} One thing to note here is that all of the styles and classes are being applied directly to the returned svg element. So, in your case, you’d probably need to have a wrapping element to build out the border-radius and background color and then apply the relevant styles …