Interface IDockviewReactProps

interface IDockviewReactProps {
    className?: string;
    components: Record<string, FunctionComponent<IDockviewPanelProps>>;
    defaultTabComponent?: FunctionComponent<IDockviewPanelHeaderProps>;
    leftHeaderActionsComponent?: FunctionComponent<IDockviewHeaderActionsProps>;
    onDidDrop?: ((event) => void);
    onReady: ((event) => void);
    onWillDrop?: ((event) => void);
    prefixHeaderActionsComponent?: FunctionComponent<IDockviewHeaderActionsProps>;
    rightHeaderActionsComponent?: FunctionComponent<IDockviewHeaderActionsProps>;
    showDndOverlay?: ((event) => boolean);
    tabComponents?: Record<string, FunctionComponent<IDockviewPanelHeaderProps>>;
    watermarkComponent?: FunctionComponent<IWatermarkPanelProps>;
}

Hierarchy (view full)

Properties

className?: string
components: Record<string, FunctionComponent<IDockviewPanelProps>>
defaultTabComponent?: FunctionComponent<IDockviewPanelHeaderProps>
leftHeaderActionsComponent?: FunctionComponent<IDockviewHeaderActionsProps>
onDidDrop?: ((event) => void)

Type declaration

onReady: ((event) => void)

Type declaration

onWillDrop?: ((event) => void)

Type declaration

prefixHeaderActionsComponent?: FunctionComponent<IDockviewHeaderActionsProps>
rightHeaderActionsComponent?: FunctionComponent<IDockviewHeaderActionsProps>
showDndOverlay?: ((event) => boolean)

Type declaration

    • (event): boolean
    • Parameters

      Returns boolean

      Deprecated

      use api.onUnhandledDragOverEvent instead. This will be removed in the next release.

Deprecated

use api.onUnhandledDragOverEvent instead. This will be removed in the next release.

tabComponents?: Record<string, FunctionComponent<IDockviewPanelHeaderProps>>
watermarkComponent?: FunctionComponent<IWatermarkPanelProps>

Generated using TypeDoc