chore(core): cleanup handle cmp
This commit is contained in:
@@ -9,12 +9,13 @@ const {
|
|||||||
connectableStart = true,
|
connectableStart = true,
|
||||||
connectableEnd = true,
|
connectableEnd = true,
|
||||||
id,
|
id,
|
||||||
isValidConnection,
|
|
||||||
...props
|
...props
|
||||||
} = defineProps<HandleProps>()
|
} = defineProps<HandleProps>()
|
||||||
|
|
||||||
const type = toRef(props, 'type', 'source')
|
const type = toRef(props, 'type', 'source')
|
||||||
|
|
||||||
|
const isValidConnection = toRef(props, 'isValidConnection', undefined)
|
||||||
|
|
||||||
const {
|
const {
|
||||||
connectionStartHandle,
|
connectionStartHandle,
|
||||||
connectionClickStartHandle,
|
connectionClickStartHandle,
|
||||||
|
|||||||
Reference in New Issue
Block a user