| 1234567891011 |
- import { TLLineTool } from '@tldraw/core'
- import type { TLReactEventMap } from '@tldraw/react'
- import { LineShape, type Shape } from '../shapes'
- // @ts-expect-error maybe later
- export class LineTool extends TLLineTool<LineShape, Shape, TLReactEventMap> {
- static id = 'line'
- // not sure why "c" is not working in Logseq?
- static shortcut = ['6']
- Shape = LineShape
- }
|