feat(examples): added an example for cancelling the connection

This commit is contained in:
Alireza Sheikholmolouki
2022-10-04 14:29:41 +02:00
parent 25d88893a2
commit ab9e340b7b
9 changed files with 176 additions and 0 deletions
+5
View File
@@ -35,6 +35,7 @@ import UseReactFlow from '../examples/UseReactFlow';
import Validation from '../examples/Validation';
import UseKeyPress from '../examples/UseKeyPress';
import EdgeRouting from '../examples/EdgeRouting';
import CancelConnection from '../examples/CancelConnection';
const routes = [
{
@@ -173,6 +174,10 @@ const routes = [
path: '/use-key-press',
component: UseKeyPress,
},
{
path: '/cancel-connection',
component: CancelConnection
}
];
const Header = () => {