This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Description
Can i change the easing function in MorphReplace?
i have this code but not work...
import { MorphReplace } from 'react-svg-morph';
import { easeInOutCubic } from 'react-svg-morph/lib/utils/easing';
renderLine() {
return (
<MorphReplace
easing={easeInOutCubic}
width={100}
height={100}
duration={1000}
rotation="none"
>
{this.state.isOpen ? <OpenCurvedSVG key="open" /> : <LineSVG key="close" />}
</MorphReplace>
);
}