I've introduced a prop called dashCount to explictly control how many dashes are rendered.
The idea behind this change is that sometimes I want render a set number of dashes, while other times I want the dashes to fill the available space (like it works today). The ideal situation here is that I can re-use the same component in both instances, and switch between the two "modes".
I've introduced a prop called
dashCount
to explictly control how many dashes are rendered.The idea behind this change is that sometimes I want render a set number of dashes, while other times I want the dashes to fill the available space (like it works today). The ideal situation here is that I can re-use the same component in both instances, and switch between the two "modes".