Merge pull request #5425 from CamWass/cam/fix-typo

Fix typo in docs
This commit is contained in:
Moritz Klack
2025-08-07 07:24:09 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -545,7 +545,7 @@ export interface ReactFlowProps<NodeType extends Node = Node, EdgeType extends E
noDragClassName?: string; noDragClassName?: string;
/** /**
* Typically, scrolling the mouse wheel when the mouse is over the canvas will zoom the viewport. * Typically, scrolling the mouse wheel when the mouse is over the canvas will zoom the viewport.
* Adding the `"nowheel"` class to an element n the canvas will prevent this behavior and this prop * Adding the `"nowheel"` class to an element in the canvas will prevent this behavior and this prop
* allows you to change the name of that class. * allows you to change the name of that class.
* @default "nowheel" * @default "nowheel"
*/ */
@@ -393,7 +393,7 @@ export type SvelteFlowProps<
noDragClass?: string; noDragClass?: string;
/** /**
* Typically, scrolling the mouse wheel when the mouse is over the canvas will zoom the viewport. * Typically, scrolling the mouse wheel when the mouse is over the canvas will zoom the viewport.
* Adding the `"nowheel"` class to an element n the canvas will prevent this behavior and this prop * Adding the `"nowheel"` class to an element in the canvas will prevent this behavior and this prop
* allows you to change the name of that class. * allows you to change the name of that class.
* @default "nowheel" * @default "nowheel"
*/ */