react-svg-morph
react-svg-morph copied to clipboard
:crystal_ball: morph your svg component one into another other
this library seems to be dead. no support for functional components either. I'm currently seeking alternatives.
Hi, I'm trying to adapt the example displayed on the ReadMe in order to make it simply work with `react-icons` since it's claimed to be working with this library. A...
Uncaught TypeError: instance.render is not a function renderToJson.js:24 I followed the docs but get this error. I even made the simplest case but still am getting it. Any ideas? {...
Code at issue: https://github.com/gorangajic/react-svg-morph/blob/master/src/MorphReplace.js#L26, among others. More on this: - https://reactjs.org/docs/react-component.html - https://hackernoon.com/problematic-react-lifecycle-methods-are-going-away-in-react-17-4216acc7d58b Syntactically speaking, the methods as you have implemented them currently will no longer function as of React...
At the moment, attempting to morph inner svg elements gives an error. For example ``` ``` results in `Uncaught TypeError: Cannot read property 'children' of undefined` (caught in `normizeSvg.js` because...
Hey there! I hate to be a bother, but I just tried to implement this component in a project I'm working on and ran into an SVG rendering glitch. I...
If your SVG component has properties like `stroke-width`, you get the following console warning. ``` Warning: Invalid DOM property `stroke-width`. Did you mean `strokeWidth`? in path (created by MorphTransition) in...
Hey, I've got it working with two icons, but as soon as I add more, it stops working I have an array of jsx elements and a counter in the...
I did tried 2 ways: CancelSvg.js ``` import React from 'react' import Svg, { Line } from 'react-native-svg' export default class CancelSvg extends React.Component { render () { return (...