Improve TSDoc comments for useNodesData, useReactFlow, isNode and isEdge

This commit is contained in:
Dimitri POSTOLOV
2025-04-06 04:52:08 +02:00
parent b9e4f82933
commit e6139a00d4
4 changed files with 22 additions and 13 deletions
-2
View File
@@ -31,8 +31,6 @@ const selector = (s: ReactFlowState) => !!s.panZoom;
* This hook returns a ReactFlowInstance that can be used to update nodes and edges, manipulate the viewport, or query the current state of the flow.
*
* @public
* @returns ReactFlowInstance
*
* @example
* ```jsx
*import { useCallback, useState } from 'react';