kopia lustrzana https://github.com/Tldraw/Tldraw
13 wiersze
328 B
TypeScript
13 wiersze
328 B
TypeScript
import { StateNode } from '../StateNode'
|
|
import { Idle } from './children/Idle'
|
|
import { Pointing } from './children/Pointing'
|
|
|
|
/** @public */
|
|
export abstract class BaseBoxShapeTool extends StateNode {
|
|
static override id = 'box'
|
|
static initial = 'idle'
|
|
static children = () => [Idle, Pointing]
|
|
|
|
abstract shapeType: string
|
|
}
|