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

Some SVG contains name space which are invalid in js/jsx #270

Open
praisethemoon opened this issue Sep 14, 2022 · 2 comments
Open

Some SVG contains name space which are invalid in js/jsx #270

praisethemoon opened this issue Sep 14, 2022 · 2 comments

Comments

@praisethemoon
Copy link

Hello,
awesome tool, I love it! I have an issue with some SVGs though.

tl;dr Some SVG contains name space which are invalid in js/jsx
tl;dr: https://stackoverflow.com/questions/59820954/syntaxerror-unknown-namespace-tags-are-not-supported-by-default

Cheers! 🍺

@r17x
Copy link
Contributor

r17x commented Sep 17, 2022

Hello @praisethemoon

Thank you for used this tools.

Could you give me the name of svg that related with issue your mentioned or packages name in packages/@chakra-icons ?

Thank you

@praisethemoon
Copy link
Author

Thanks for your reply,

It is a custom SVG, I have attached it below.

I think it is easy because the format x:y almost always end-up x:Y (first letter being upper case) in jsx, no?

SVG 👇
keyboard

Cheers!

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