chore(examples): only use bundle

This commit is contained in:
moklick
2022-08-09 18:55:32 +02:00
parent affae72f7e
commit 0f835a2961
48 changed files with 194 additions and 513 deletions
+2 -7
View File
@@ -1,10 +1,5 @@
import React, { FC } from 'react';
import {
EdgeProps,
getBezierPath,
EdgeText,
getBezierEdgeCenter,
} from '@react-flow/core';
import { EdgeProps, getBezierPath, EdgeText, getBezierEdgeCenter } from '@react-flow/bundle';
const CustomEdge: FC<EdgeProps> = ({
id,
@@ -33,7 +28,7 @@ const CustomEdge: FC<EdgeProps> = ({
return (
<>
<path id={id} className='react-flow__edge-path' d={edgePath} />
<path id={id} className="react-flow__edge-path" d={edgePath} />
<EdgeText
x={centerX}
y={centerY}