Is it feasible to add a leave prop to the Animate component? I have a 3rd party component that controls the mount and unmount of my Animate component, and if I had a way to animate it out on unmount this would be perfect!
<HOC
name="email"
component={<Animate appear leave show>}
/>
This is equivalent to:
{error.email ? <Animate appear leave show>{error.email}</div> : null}
Once the object is populated the Animate animates in perfectly. However, I can't figure out a way to Animate it again on unmount. Thanks!
Is it feasible to add a
leaveprop to theAnimatecomponent? I have a 3rd party component that controls the mount and unmount of myAnimatecomponent, and if I had a way to animate it out on unmount this would be perfect!This is equivalent to:
Once the object is populated the Animate animates in perfectly. However, I can't figure out a way to Animate it again on unmount. Thanks!