Fix typo React Flow -> Svelte Flow

This commit is contained in:
Dimitri POSTOLOV
2025-04-05 17:15:42 +02:00
parent b9e4f82933
commit 0669606050
3 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
'@xyflow/svelte': patch
---
Fix typo `React Flow` -> `Svelte Flow`

View File

@@ -11,8 +11,8 @@ import type {
import type { Node } from '$lib/types';
/**
* An `Edge` is the complete description with everything React Flow needs
*to know in order to render it.
* An `Edge` is the complete description with everything Svelte Flow needs to know in order to
* render it.
* @public
*/
export type Edge<

View File

@@ -3,7 +3,7 @@ import { isNodeBase, isEdgeBase } from '@xyflow/system';
import type { Edge, Node } from '$lib/types';
/**
* Test whether an object is useable as a Node
* Test whether an object is usable as a Node
* @public
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Node if it returns true
* @param element - The element to test
@@ -13,7 +13,7 @@ export const isNode = <NodeType extends Node = Node>(element: unknown): element
isNodeBase<NodeType>(element);
/**
* Test whether an object is useable as an Edge
* Test whether an object is usable as an Edge
* @public
* @remarks In TypeScript this is a type guard that will narrow the type of whatever you pass in to Edge if it returns true
* @param element - The element to test