update(script-setup): Refactor remaining files to script setup style

This commit is contained in:
Braks
2021-10-20 22:39:54 +02:00
parent 9b2f4b7406
commit 560bdc203b
62 changed files with 1683 additions and 1425 deletions
+4 -4
View File
@@ -47,14 +47,14 @@ export type NodeDimensionUpdate = {
export interface NodeProps<T = any> {
id: ElementId
type: string
data: T
selected: boolean
isConnectable: boolean
data?: T
selected?: boolean
connectable?: boolean
xPos?: number
yPos?: number
targetPosition?: Position
sourcePosition?: Position
isDragging?: boolean
dragging?: boolean
}
export type NodeType = DefineComponent<NodeProps>