arrowShapeProps
See source codeValidation configuration for arrow shape properties.
Defines the validators for each property of an arrow shape, ensuring that arrow shape data is valid and conforms to the expected types and constraints.
arrowShapeProps: RecordProps<TLArrowShape>
Example
// The validators ensure proper typing and validation
const validator = T.object(arrowShapeProps)
const validArrowProps = validator.validate({
kind: 'arc',
start: { x: 0, y: 0 },
end: { x: 100, y: 50 },
// ... other required properties
})
Prev
arrowShapeMigrationsNext
arrowShapeVersions