ToastAnimationOptions

Specifies the animation configuration for Toast show and hide animations.

Props

The following table outlines the props for the ToastAnimationOptions:

NameTypeDefaultDescription
hide
{ name: 'FadeOut', duration: 400, timingFunction: 'ease-out' }

Specifies the animation that should happen when Toast closes.

show
{ name: 'FadeIn', duration: 400, timingFunction: 'ease-out' }

Specifies the animation that should happen when Toast opens.