fix!: prop typings

* remove wrapper exports from library

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-22 15:49:27 +01:00
parent 4932c64d52
commit fec38a129a
9 changed files with 20 additions and 18 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ const props = withDefaults(defineProps<EdgeRendererProps>(), {
edgeUpdaterRadius: 10,
})
const getType = (type: string) => {
const getType = (type?: string) => {
const t = type ?? 'default'
let edgeType = props.edgeTypes[t]
if (!edgeType) {
@@ -124,10 +124,10 @@ export default {
</EdgeWrapper>
<ConnectionLine
v-if="connectionLineVisible && sourceNode"
:vf="sourceNode?.__vf"
:connection-line-style="props.connectionLineStyle"
:connection-line-type="props.connectionLineType"
:connection-handle-id="props.connectionHandleId"
:vf="sourceNode?.__vf"
:connection-node-id="props.connectionNodeId"
:connection-handle-type="props.connectionHandleType"
:connection-position="props.connectionPosition"