feat(ui): add type filter toggles
This commit is contained in:
34
node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts
generated
vendored
Normal file
34
node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
export declare const NodeIdContext: import("react").Context<string | null>;
|
||||
export declare const Provider: import("react").Provider<string | null>;
|
||||
export declare const Consumer: import("react").Consumer<string | null>;
|
||||
/**
|
||||
* You can use this hook to get the id of the node it is used inside. It is useful
|
||||
* if you need the node's id deeper in the render tree but don't want to manually
|
||||
* drill down the id as a prop.
|
||||
*
|
||||
* @public
|
||||
* @returns The id for a node in the flow.
|
||||
*
|
||||
* @example
|
||||
*```jsx
|
||||
*import { useNodeId } from '@xyflow/react';
|
||||
*
|
||||
*export default function CustomNode() {
|
||||
* return (
|
||||
* <div>
|
||||
* <span>This node has an id of </span>
|
||||
* <NodeIdDisplay />
|
||||
* </div>
|
||||
* );
|
||||
*}
|
||||
*
|
||||
*function NodeIdDisplay() {
|
||||
* const nodeId = useNodeId();
|
||||
*
|
||||
* return <span>{nodeId}</span>;
|
||||
*}
|
||||
*```
|
||||
*/
|
||||
export declare const useNodeId: () => string | null;
|
||||
export default NodeIdContext;
|
||||
//# sourceMappingURL=NodeIdContext.d.ts.map
|
||||
1
node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts.map
generated
vendored
Normal file
1
node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NodeIdContext.d.ts","sourceRoot":"","sources":["../../src/contexts/NodeIdContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,wCAAqC,CAAC;AAChE,eAAO,MAAM,QAAQ,yCAAyB,CAAC;AAC/C,eAAO,MAAM,QAAQ,yCAAyB,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,SAAS,QAAO,MAAM,GAAG,IAGrC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
||||
4
node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts
generated
vendored
Normal file
4
node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
declare const StoreContext: import("react").Context<import("zustand/traditional").UseBoundStoreWithEqualityFn<import("zustand").StoreApi<import("..").ReactFlowState>> | null>;
|
||||
export declare const Provider: import("react").Provider<import("zustand/traditional").UseBoundStoreWithEqualityFn<import("zustand").StoreApi<import("..").ReactFlowState>> | null>;
|
||||
export default StoreContext;
|
||||
//# sourceMappingURL=StoreContext.d.ts.map
|
||||
1
node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts.map
generated
vendored
Normal file
1
node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"StoreContext.d.ts","sourceRoot":"","sources":["../../src/contexts/StoreContext.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,oJAA6D,CAAC;AAEhF,eAAO,MAAM,QAAQ,qJAAwB,CAAC;AAC9C,eAAe,YAAY,CAAC"}
|
||||
Reference in New Issue
Block a user