Skip to content

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