Hierarchy

  • ContextMenuProps

Properties

children: ReactNode
containerProps?: ViewProps

Specification for the opened menu, this type closely follows the definitions at https://developer.apple.com/documentation/uikit/uimenu

onWillDisplay?: (() => void)

Type declaration

    • (): void
    • Provide code to be executed when context menu is about to launch

      Returns void

onWillEnd?: (() => void)

Type declaration

    • (): void
    • Provide code to be executed when context menu is about to be closed

      Returns void

renderPreview?: (() => ReactNode)

Type declaration

    • (): ReactNode
    • Specify the content to be rendered in the preview container when context menu shows If not provided context menu preview is disabled

      Returns ReactNode

Generated using TypeDoc