mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
10 lines
276 B
TypeScript
10 lines
276 B
TypeScript
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
|
|
}
|