We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would you be open to a PR adding SVG self closing tags? Or a PR that exposes the self closing tags so one could supply their own?
Such as:
var hyperx = require('hyperx') var hx = hyperx(function (tag, props, children) { /* ... turn into thing ... */ }, { selfClosingTags: ['circle', /* ... */] }) var circle = hx`<svg viewBox="0 0 100 100"> <circle r="${r}" /> </svg>`
Here is a good list of svg elements. Thanks!
The text was updated successfully, but these errors were encountered:
I'm +1 on having SVG support land; not particularly in favor of adding custom tag declarations. Happy to review any PR that comes in! 😁
Sorry, something went wrong.
automatic svg support would be great
Cool! I'll work on a PR using svg-tags for the list of supported tags.
Successfully merging a pull request may close this issue.
Would you be open to a PR adding SVG self closing tags? Or a PR that exposes the self closing tags so one could supply their own?
Such as:
Here is a good list of svg elements. Thanks!
The text was updated successfully, but these errors were encountered: