MenuAnimationProps

Interface for ContextMenu animation settings that controls how the menu appears.

Props

The following table outlines the props for the MenuAnimationProps:

NameTypeDefaultDescription
duration
number
400

Specifies the time duration in milliseconds for the transform animation.

easing
string
'ease'

Specifies the easing effect applied during the transform animation.

effect
'FadeIn'

Specifies the effect shown in the ContextMenu transform. The possible effects are:

  • None: Specifies the ContextMenu transform with no animation effect.
  • SlideDown: Specifies the ContextMenu transform with slide down effect.
  • ZoomIn: Specifies the ContextMenu transform with zoom in effect.
  • FadeIn: Specifies the ContextMenu transform with fade in effect.