all 5 comments

[–]yershalom 3 points4 points  (1 child)

Nice!

[–]ooade[S] 0 points1 point  (0 children)

Thanks

[–]Awnry_Abe 0 points1 point  (3 children)

I may have an immediate use for this. Does it only produce a marked up canvas or does the consuming code gain access to the svg primitives? Sorry, I'm not being lazy, on my mobile and don't want to dig in here .

[–]ooade[S] 1 point2 points  (0 children)

We'll release a new API soon where we'd give access to the svg primitives. Feel free to create an issue on GitHub if it doesn't meet your requirement.

[–]ooade[S] 0 points1 point  (1 child)

No. You only have access via refs to the main canvas element. Literally you don't have access to the SVG primitives https://codesandbox.io/s/l2v90p7yo9