x icon indicating copy to clipboard operation
x copied to clipboard

creating SVG / custom elements

Open jacoblister opened this issue 5 years ago • 1 comments

Is there any way to create non HTML (custom / SVG) elements?

For example this is possible with the Kotlin React wrapper: https://stackoverflow.com/questions/48596379/how-to-use-svg-with-kotlin-react

jacoblister avatar Oct 19 '18 02:10 jacoblister

@jacoblister per #60 (in particular https://github.com/myitcv/x/issues/60#issuecomment-424829275) you can "backdoor" the creation of elements by going to React direct.

However, I suspect the "better" thing to do here is for us to code generate (on the myitcv.io/react side) the SVG elements https://developer.mozilla.org/en-US/docs/Web/SVG/Element

myitcv avatar Oct 19 '18 07:10 myitcv