All Components

AnimationProps

Represents the props of the Animation component for React.

animationEnteredStyle? any

Specifies a specific styles which will be applied when the animation reaches its entered state.

animationEnteringStyle? any

Specifies a specific style which will be applied when the animation reaches its entering state.

animationExitedStyle? any

Specifies a specific styles which will be applied when the animation reaches its exited state.

animationExitingStyle? any

Specifies a specific styles which will be applied when the animation reaches its exiting state.

appear? boolean

Defines whether a transition should happen on the first mount. Defaults to false.

childFactory? any

When the element reaches its exit state, it is no longer available in the DOM.
For more information if a DOM operation is required,
refer to the article on Exiting Child.

className? string

Specifies the name of the CSS class which is set to the Animation component.

component? string

Specifies the node type of the parent animation component. Defaults to div.

componentChildClassName? string

Specifies the CSS class names which are set to each of the animated children elements.

componentChildStyle? any

Specifies the styles which are set to each of the animated children elements.

enter? boolean

Specifies whether to animate the entering (showing) element. Defaults to true.

exit? boolean

Specifies whether to animate a leaving (disappearing) element. Defaults to true.

id? string

Specifies the id of the Animation component.

mountOnEnter? boolean

Specifies if the animation should lazy mount on the first in={true}. Defaults to false.

onEnter? (event: AnimationEventArguments) => void

Called when a component is added to an existing Animation component and the animation has not started yet.

onEntered? (event: AnimationEventArguments) => void

Called when a component is added to an existing Animation component and the animation is now finished.

onEntering? (event: AnimationEventArguments) => void

Called when a component is added to an existing Animation component and the animation is now happening.

onExit? (event: AnimationEventArguments) => void

An event that is called after the animation has reached its exit state.

onExited? (event: AnimationEventArguments) => void

An event that is called after the animation has reached its exited state.

onExiting? (event: AnimationEventArguments) => void

An event that is called after the animation has reached its exiting state.

stackChildren? boolean

Specifies whether the animation children should stack on top of each other without interfering.

style? any

Specifies the style of the parent animation component.

transitionEnterDuration? number

Specifies the duration of the animation in. After the time runs out, the animation is terminated. Defaults to 300ms.

transitionExitDuration? number

Specifies the duration of the animation out. After the time runs out, the animation is terminated. Defaults to 300ms.

transitionName string

Specifies the classNames which will be applied during the transition.

unmountOnExit? boolean

Specifies if the animated component should unmount after it reaches its exited state. Defaults to false.

In this article