Component props.
Optionalappear?: booleanIf true, run the enter transition on initial mount.
Render prop receiving transition state/props.
Boolean/flag indicating whether the component should be entered/shown.
OptionalmountOnEnter?: booleanIf true, mount the child only when entering.
Called when entering begins.
Called when entering completes.
Called while the component is entering.
Called when exiting begins.
Called when exiting completes.
Called while the component is exiting.
Optionaltimeout?: numberDuration (or durations) for the transition.
OptionalunmountOnExit?: booleanIf true, unmount the child after exiting.
Transition component that manages enter/exit lifecycle and calls callbacks based on state changes.