@mocanvas/mocanvas · function
declare function getNoteDisplayValues(editor: unknown, shape: {
props?: unknown;
}, theme: TLTheme, colorMode: TLColorMode, options?: NoteShapeOptions): NoteShapeUtilDisplayValuesResolve a note's display values against a theme.
Tolerant of a bare { props } bag rather than a whole record: a placement
ghost asks what a note the user has not created yet would look like, and it
has only the util's default props to ask with.
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.