UNPKG

@hitachivantara/uikit-react-lab

Version:

Contributed React components for the NEXT UI Kit.

9 lines (8 loc) 174 B
import { useNodeId as useNodeId$1 } from "reactflow"; function useNodeId(id) { const currentNodeId = useNodeId$1(); return id ?? currentNodeId; } export { useNodeId };