withTransition
function withTransition<P>(
Component,
timeout,
stateAfterTransition): (props) => null | Element;
Type Parameters
| Type Parameter |
|---|
P extends object |
Parameters
| Parameter | Type | Default value |
|---|---|---|
Component | ComponentType<P> | undefined |
timeout | number | undefined |
stateAfterTransition | "hide" | "unmount" | 'unmount' |
Returns
(props): null | Element;
Parameters
| Parameter | Type |
|---|---|
props | P & WithTransitionProps |
Returns
null | Element