Tldraw/packages/tldraw/src/lib/defaultShapeUtils.ts

30 wiersze
1.1 KiB
TypeScript

import { TLAnyShapeUtilConstructor } from '@tldraw/editor'
import { ArrowShapeUtil } from './shapes/arrow/ArrowShapeUtil'
import { BookmarkShapeUtil } from './shapes/bookmark/BookmarkShapeUtil'
import { DrawShapeUtil } from './shapes/draw/DrawShapeUtil'
import { EmbedShapeUtil } from './shapes/embed/EmbedShapeUtil'
import { FrameShapeUtil } from './shapes/frame/FrameShapeUtil'
import { GeoShapeUtil } from './shapes/geo/GeoShapeUtil'
import { HighlightShapeUtil } from './shapes/highlight/HighlightShapeUtil'
import { ImageShapeUtil } from './shapes/image/ImageShapeUtil'
import { LineShapeUtil } from './shapes/line/LineShapeUtil'
import { NoteShapeUtil } from './shapes/note/NoteShapeUtil'
import { TextShapeUtil } from './shapes/text/TextShapeUtil'
import { VideoShapeUtil } from './shapes/video/VideoShapeUtil'
/** @public */
export const defaultShapeUtils: TLAnyShapeUtilConstructor[] = [
TextShapeUtil,
BookmarkShapeUtil,
DrawShapeUtil,
GeoShapeUtil,
NoteShapeUtil,
LineShapeUtil,
FrameShapeUtil,
ArrowShapeUtil,
HighlightShapeUtil,
EmbedShapeUtil,
ImageShapeUtil,
VideoShapeUtil,
]