diff --git a/examples/CustomConnectionLine/ConnectionLine.vue b/examples/CustomConnectionLine/ConnectionLine.vue index afee9f5e..e241f302 100644 --- a/examples/CustomConnectionLine/ConnectionLine.vue +++ b/examples/CustomConnectionLine/ConnectionLine.vue @@ -14,7 +14,7 @@ import { defineComponent, PropType } from 'vue'; import { ConnectionLineComponentProps } from '../../src'; -const ConnectionLine = defineComponent({ +export default defineComponent({ props: { sourceX: { type: Number as PropType, @@ -34,6 +34,4 @@ const ConnectionLine = defineComponent({ } } }); - -export default ConnectionLine; diff --git a/examples/CustomConnectionLine/CustomConnectionLine.vue b/examples/CustomConnectionLine/CustomConnectionLine.vue index 0f848b3c..b5e2111c 100644 --- a/examples/CustomConnectionLine/CustomConnectionLine.vue +++ b/examples/CustomConnectionLine/CustomConnectionLine.vue @@ -1,9 +1,9 @@