frameShapeProps

See source code

Validation schema for frame shape properties.

frameShapeProps: RecordProps<TLFrameShape>;

Example

// Validate frame properties
const isValidName = frameShapeProps.name.isValid("My Frame");
const isValidColor = frameShapeProps.color.isValid("red");
Prev
frameShapeMigrations
Next
GeoShapeGeoStyle