When trying to encapsulate my widget with a fragment node, the error ‘attempting to create fragment node’ keeps showing up. I don’t see what i’m doing wrong. Anyone that can help?
<Fragment>
<Rectangle width={10} height={10} />
<SVG
cornerRadius={10}
src={`
<svg>
<path fill="#ffffff" d="${vertices.map(({ x, y }, key) => {
... }"/>
</svg>
`} />
< Input
font={font}
onTextEditEnd={({ characters }) => {
setText(characters)
loadFonts().then(() => {
setVertices(generateBackground(characters))
})
}
}
value={text}
fill="#031037"
inputBehavior="multiline"
/>
</Fragment>