-
Notifications
You must be signed in to change notification settings - Fork 613
Add bg prop to ProgressBar.Item #5007
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
Conversation
🦋 Changeset detectedLatest commit: 2ef06ac The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Merge this once primer/react#5007 is merged
71530f0
to
09c95e3
Compare
size-limit report 📦
|
09c95e3
to
623c2de
Compare
623c2de
to
0a88699
Compare
* Add bg for ProgressBar.item Merge this once primer/react#5007 is merged * Create beige-schools-horse.md
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.
Request some minor improvements
Co-authored-by: Siddharth Kshetrapal <siddharthkp@github.com>
if (args.bg && args.bg !== '') { | ||
setSectionColors([args.bg, ...sectionColorsDefault]) | ||
} | ||
}, [args.bg]) |
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.
(non blocker, nit picking) Didn't really understand what this block of code does, can you help me?
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.
Needed to avoid error: "To many re-renders"
Adds a
bg
prop for onProgressBar.Item
as discussed in https://github.slack.com/archives/GACAW0NPM/p1726839001767409Follow-up task
Changelog
bg
prop for onProgressBar.Item
Rollout strategy
Testing & Reviewing
Merge checklist