Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<Surface width={width} height={height}>
{, index) => {
let config = {
index: index,
width: width,
height: height,
data: data,
color: color,
lineWidth: 18,
return (
<Group key={index} x={60} y={-20}>
<ConstructShape config={{...config, ...{ color: "#353535", type: 'main' }}} />
<ConstructShape config={{...config, ...{ color: color, type: 'top', lineHeight: 5 }}}/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment