Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating SVG / custom elements #74

Open
jacoblister opened this issue Oct 19, 2018 · 1 comment
Open

creating SVG / custom elements #74

jacoblister opened this issue Oct 19, 2018 · 1 comment

Comments

@jacoblister
Copy link

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

@myitcv
Copy link
Owner

myitcv commented Oct 19, 2018

@jacoblister per #60 (in particular #60 (comment)) 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants