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