move tldraw/next inside of logseq

This commit is contained in:
Peng Xiao
2022-05-16 19:55:07 +08:00
parent a62d6e7e90
commit e02a7dd344
434 changed files with 34554 additions and 38456 deletions

View File

@@ -0,0 +1,9 @@
import { TLBoxTool } from '@tldraw/core'
import type { TLReactEventMap } from '@tldraw/react'
import { Shape, BoxShape } from '~lib'
export class BoxTool extends TLBoxTool<BoxShape, Shape, TLReactEventMap> {
static id = 'box'
static shortcut = ['r']
Shape = BoxShape
}