@mocanvas/editor · function
declare function getDefaultDisplayValues(_editor: unknown, shape: TLStyledShape, theme: TLTheme, colorMode: TLColorMode): TLDefaultDisplayValuesThe default resolution of the shared style props.
Every prop is optional: a shape that carries none of them still gets a complete, usable set of values, which is what lets a util call this and then override only the parts it actually has an opinion about.
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.