ToastAnimationProps

Specifies animation props for both show and hide actions of the Toast.

Props

The following table outlines the props for the ToastAnimationProps:

NameTypeDefaultDescription
duration
number
400

Specifies the duration of the animation that is completed per animation cycle.

name
'FadeIn'

Specifies the animation effect on the Toast, show and hide actions.

timingFunction
string
'ease'

Specifies the animation timing function.