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

Feature/loading bar direction #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sudhanshuku01
Copy link

Implemented Direction Feature Request from Issue #77

Added rtl prop to the LoadingBar component.
rtl={false}
If rtl is set to false, the loading bar will progress from left to right (default behavior).
rtl={true}
If rtl is set to true, the loading bar will progress from right to left.

Modified the homepage to include a button "Change Direction" to allow users to toggle the loading bar direction dynamically.
Also updated the README file to include details about the 'direction' prop in the Props section.

Usage example:
<LoadingBar color='#f11946' progress={progress} rtl={false} // true: Default />

@sudhanshuku01
Copy link
Author

Hello @klendi please look into this and review the more changes I can do.

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