[BUG] attrX
/ attrY
are not included in the typings for motion SVG elements
#2044
Labels
bug
Something isn't working
According to the docs, I can use
attrX
andattrY
to animate the value of thex
andy
attributes of an SVG element directly:This appears to work as intended, and the code runs correctly however the typescript compiler throws an error. Example sandbox below:
Example sandbox:
https://codesandbox.io/s/ecstatic-bessie-38e7kj?file=/src/App.tsx
The text was updated successfully, but these errors were encountered: