@mocanvas/mocanvas · type

ResolvedArrowProps

type ResolvedArrowProps = ArrowShapeProps & {
    text: string;
    richText: RichText;
}

ArrowShapeProps with the *derived* label filled in as well.

props.text is optional on the record — a v5 writer only sets richText — but a util that has run it through readArrowProps always has both, so everything downstream can take a plain string.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.