@mocanvas/editor · type
type TLGetDefaultDisplayValues<S = TLStyledShape, D extends object = TLDefaultDisplayValues> = (editor: unknown, shape: S, theme: TLTheme, colorMode: TLColorMode) => DA shape util's *default* display values: everything the util renders, derived from the shape and the live theme.
It takes the editor explicitly (rather than being a method) so it can be
declared in a util's options and overridden by configure() without
subclassing.
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.