Skip to content

Conversation

@ali28729
Copy link

An optional prop "typesColor'' exposed to enable users to pass an array with custom colors for annotation types. This can help distinguish bounding boxes visually if the defaultBoxes array is large and diverse.
If an array is not provided, the index position contains an empty string or if an element is missing, the stroke will fallback to '#555'.

This PR implements the functionality for #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant