refactor: pass props to edge/nodewrapper separately
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { Component, CSSProperties, DefineComponent } from 'vue'
|
||||
import { CSSProperties, DefineComponent } from 'vue'
|
||||
|
||||
interface EdgeTextProps {
|
||||
x: number
|
||||
@@ -7,7 +7,7 @@ interface EdgeTextProps {
|
||||
label?:
|
||||
| string
|
||||
| {
|
||||
component: Component | DefineComponent
|
||||
component: DefineComponent
|
||||
props?: Record<string, any>
|
||||
}
|
||||
labelStyle?: CSSProperties
|
||||
|
||||
Reference in New Issue
Block a user