@mocanvas/mocanvas · type
type ResolvedNoteProps = NoteShapeProps & {
text: string;
richText: RichText;
}NoteShapeProps 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 readNoteProps always has both, so
everything downstream can take a plain string.
Mentioned here
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.