-
Notifications
You must be signed in to change notification settings - Fork 0
Progressbar component #26
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
base: main
Are you sure you want to change the base?
Conversation
| <div> | ||
| <ExampleBlock | ||
| title="Success" | ||
| description="Green progress bar." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A progress bar is only green when it reaches the success (completed state).
| <div> | ||
| <ExampleBlock | ||
| title="Danger" | ||
| description="Red progress bar." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A progress bar only stops and turns red if there's an error.
| <ExampleBlock | ||
| title="Default" | ||
| description="" | ||
| description="Blue progress bar." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A progress bar that is currently in progress and hasn't completed or encountered an error is blue.
|
Made changes, please check again. |
| <ExampleBlock | ||
| title="Danger" | ||
| description="Red progress bar." | ||
| description="A progress bar only stops and turns red if there's an error." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit of rewording would be good, since the component doesn't automatically change to red / danger if there's an error.
No description provided.