4 ms·
I thought parens around any SVG would make it valid JSX.
by tonetheman 9y ago
I thought parens around any SVG would make it valid JSX.
- TheCoreh 9y agoYou have to escape some portions, like CSS, (otherwise { and } will be interpreted as JS expression interpolation) remove xml namespaces, `class` also needs to be renamed to `className`, among other tweaks.