In React Transition Group, what prop is used to define the duration of an exit animation?

  • transitionDuration
  • animationDuration
  • exitDuration
  • duration
In React Transition Group, the prop used to define the duration of an exit animation is exitDuration. This prop allows you to control how long it takes for a component to animate out of the view when it's being removed. The other options (transitionDuration, animationDuration, and duration) are not specific to exit animations in React Transition Group.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *