flip move code example
Example 1: react flip move
npm i react-flip-move
Example 2: react flip move
const customEnterAnimation = {
from: { transform: 'scale(0.5, 1)' },
to: { transform: 'scale(1, 1)' }
};
<FlipMove enterAnimation={customEnterAnimation}>
{renderChildren()}
</FlipMove>