React Toast - animation

Configures UI component visibility animations. This object contains two fields: show and hide.

Type:

Object

Default Value: { show: { type: 'fade', duration: 400, from: 0, to: 1 }, hide: { type: 'fade', duration: 400, to: 0 } }, {show: {type: 'slide', duration: 200, from: { position: {my: 'top', at: 'bottom', of: window}}}, hide: { type: 'slide', duration: 200, to: { position: {my: 'top', at: 'bottom', of: window}}}} (Android)

Set this object to null or undefined to disable animation.

hide

An object that defines the animation properties used when the UI component is being hidden.

Default Value: { type: 'fade', duration: 400, to: 0 }

show

An object that defines the animation properties used when the UI component is being shown.

Default Value: { type: 'fade', duration: 400, from: 0, to: 1 }