@mocanvas/editor · type

TLGetCustomDisplayValues

type TLGetCustomDisplayValues<S = TLStyledShape, D extends object = TLDefaultDisplayValues> = (editor: unknown, shape: S, theme: TLTheme, colorMode: TLColorMode) => Partial<D> | undefined

The override point: return only the fields you want to change, or nothing at all to accept the defaults.

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.