Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prop to explicitly set dash count #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cbrevik
Copy link

@cbrevik cbrevik commented Mar 10, 2020

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".

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.

2 participants