Multicolor line based on state changes
Im updating the color prop very often and would like to represent it in the drawing. When I start drawing the color is set and its not changing until I stop drawing, but my state changes very often. Is there a way to have a segmented line with different colors, based on (at the time) current color?