docs(example): add update label
This commit is contained in:
@@ -16,6 +16,7 @@ import EdgeTypes from './EdgeTypes';
|
||||
import CustomConnectionLine from './CustomConnectionLine';
|
||||
import NodeTypeChange from './NodeTypeChange';
|
||||
import UpdatableEdge from './UpdatableEdge';
|
||||
import UpdateLabel from './UpdateLabel';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@@ -84,6 +85,11 @@ const routes = [
|
||||
component: UpdatableEdge,
|
||||
label: 'Updatable Edge',
|
||||
},
|
||||
{
|
||||
path: '/update-label',
|
||||
component: UpdateLabel,
|
||||
label: 'Update Label',
|
||||
},
|
||||
];
|
||||
|
||||
const navLinks = routes.filter((route) => route.label);
|
||||
|
||||
Reference in New Issue
Block a user