Skip to content

Commit 2e4576d

Browse files
committed
remove v12 integration from MiniMap for React Flow v10
1 parent 706c5a1 commit 2e4576d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/extensions/react-flow/minimap/MiniMapV10.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ import { FlowTransform } from "react-flow-renderer/dist/types";
44

55
import { miniMapUtils } from "../minimap/utils";
66
import {Viewport} from "react-flow-renderer-lts/dist/esm/types/general";
7-
import {ReactFlowInstance as ReactFlowInstanceV12} from "@xyflow/react"
87

98
export interface MiniMapV10Props extends ReactFlowMiniMapProps {
109
/**
1110
* React-Flow instance
1211
*/
13-
flowInstance?: ReactFlowInstance | ReactFlowInstanceV12;
12+
flowInstance?: ReactFlowInstance;
1413
/**
1514
* Enable navigating the react-flow canvas by dragging and clicking on the mini-map.
1615
*/

0 commit comments

Comments
 (0)