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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Was: GitLab #32
We should define shapes and other symbols in the <defs/> element in svg for reuse.
<defs/>
The text was updated successfully, but these errors were encountered:
However, this approach requires the use of <use xlink:href="#id"/> tag with custom xml namespace, which is not supported by React at this moment.
<use xlink:href="#id"/>
This issue tracks the support of SVG tags in React in general: facebook/react#1657
Sorry, something went wrong.
However, this approach requires the use of tag with custom xml namespace, which is not supported by React at this moment.
I believe this to be incorrect. You can see in this fiddle that xlink:href is supported. It just needs to be written as xlinkHref= instead:
xlink:href
xlinkHref=
<use xlinkHref="#shape" x="50" y="50" />
Looks like that would certainly work for us, I'll give it a go.
Thanks a lot for leaving a comment here! ✋
No branches or pull requests
Was: GitLab #32
We should define shapes and other symbols in the
<defs/>
element in svg for reuse.The text was updated successfully, but these errors were encountered: