geoShapeProps
See source codeValidation schema for geo shape properties.
geoShapeProps: RecordProps<TLGeoShape>
Example
// Validate geo shape properties
const isValidGeo = geoShapeProps.geo.isValid('rectangle')
const isValidSize = geoShapeProps.w.isValid(100)
const isValidText = geoShapeProps.richText.isValid(toRichText('Hello'))
Prev
geoShapeMigrationsNext
groupShapeMigrations