Enable or disable enter transitions.
Enable or disable exit transitions.
Show the component; triggers the enter or exit states
By default the child component is mounted immediately along with the
parent Transition component. If you want to "lazy mount" the component on
the first in={true}
you can set mountOnEnter
. After the first enter
transition the component will stay mounted, even on "exited", unless you
also specify unmountOnExit
.
Callback fired before the "entering" status is applied. An extra
parameter isAppearing
is supplied to indicate if the enter stage is
occurring on the initial mount
Callback fired after the "entered" status is applied. An extra parameter isAppearing is supplied to indicate if the enter stage is occurring on the initial mount
Callback fired after the "entering" status is applied. An extra parameter isAppearing is supplied to indicate if the enter stage is occurring on the initial mount
Callback fired before the "exiting" status is applied.
Callback fired after the "exited" status is applied.
Callback fired after the "exiting" status is applied.
By default the child component stays mounted after it reaches the
'exited' state. Set unmountOnExit
if you'd prefer to unmount the
component after it finishes exiting.
Generated using TypeDoc
Normally a component is not transitioned if it is shown when the
<Transition>
component mounts. If you want to transition on the first mount set appear to true, and the component will transition in as soon as the<Transition>
mounts. Note: there are no specific "appear" states. appear only adds an additional enter transition.