FrameShapeOptions

See source code
Table of contents

Extends ShapeOptionsWithDisplayValues<TLFrameShape, FrameShapeUtilDisplayValues>.

interface FrameShapeOptions extends ShapeOptionsWithDisplayValues<
  TLFrameShape,
  FrameShapeUtilDisplayValues
> {}

Properties

resizeChildren

When true, the frame will resize its children when the frame itself is resized.

resizeChildren: boolean;

showColors

When true, the frame will display colors for the shape's headings and background.

showColors: boolean;

Methods

getCustomDisplayValues

Parameters

NameDescription

editor

Editor;

shape

Shape;

theme

TLTheme;

colorMode

"dark" | "light";

Returns

Partial<DisplayValues>;

getDefaultDisplayValues

Parameters

NameDescription

editor

Editor;

shape

Shape;

theme

TLTheme;

colorMode

"dark" | "light";

Returns

DisplayValues;

Prev
FeatureFlagsProps
Next
FrameShapeUtilDisplayValues