I'm trying to change the speed of the default fade-in and fade-out transition, but the documentation does not seem to mention how to do so:
<Transition
items={show}
from={{ opacity: 0 }}
enter={{ opacity: 1 }}
leave={{ opacity: 0 }}>
{show => show && (props => <div style={props}>✌️</div>)}
</Transition>
Given this code, how would I make the fade in / out animation faster or slower?
I tried doing this (below), but it ended up breaking down the transition entirely. The animation no longer worked:
from={{ opacity: 1, transitionDelay: "5000ms" }}
enter={{ opacity: 1, transitionDelay: "5000ms" }}
leave={{ opacity: 0, transitionDelay: "5000ms" }}
Any ideas?