import { BaseBoxShapeUtil, HTMLContainer, TLBaseShape, RecordProps, T } from "tldraw" import { ShareLocation } from "@/components/location/ShareLocation" export type ILocationShare = TLBaseShape< "LocationShare", { w: number h: number } > export class LocationShareShape extends BaseBoxShapeUtil { static override type = "LocationShare" as const static override props: RecordProps = { w: T.number, h: T.number } getDefaultProps(): ILocationShare["props"] { return { w: 800, h: 600 } } component(shape: ILocationShare) { return (
) } indicator(shape: ILocationShare) { return } }