components_Viewport
perfect-graph / Modules / components/Viewport
#
Module: components/Viewport#
Table of contents#
Namespaces#
Type aliases#
Variables#
Type aliases#
ViewportOnPressƬ ViewportOnPress: (event
: ViewportOnPressEvent
) => void
| undefined
#
Type declarationâ–¸ (event
): void
| undefined
#
ParametersName | Type |
---|---|
event | ViewportOnPressEvent |
#
Returnsvoid
| undefined
#
Defined incomponents/Viewport/index.tsx:30
#
ViewportPropsƬ ViewportProps: { children?
: React.ReactNode
} & Omit
<NativeViewportProps
, "app"
| "theme"
>
#
Defined incomponents/Viewport/index.tsx:360
#
Variables#
Viewport• Viewport: FC
<ViewportProps
>
The wrapper for Node and Edge Elements to provide drag, pinch, and zoom functionality.