feat: bind props to slots
* bind props to slots in edges, handle, nodes Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -43,6 +43,6 @@ const onMouseDownHandler = (event: MouseEvent) =>
|
||||
]"
|
||||
@mousedown="onMouseDownHandler"
|
||||
>
|
||||
<slot></slot>
|
||||
<slot :node-id="nodeId" v-bind="props"></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user