Skip to content

Commit

Permalink
Add bg for ProgressBar.item (#237)
Browse files Browse the repository at this point in the history
* Add bg for ProgressBar.item

Merge this once primer/react#5007 is merged

* Create beige-schools-horse.md
  • Loading branch information
lukasoppermann authored Sep 23, 2024
1 parent 4fae58b commit f072227
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-schools-horse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Add `bg` prop to `ProgressBar.Item`
1 change: 1 addition & 0 deletions src/rules/no-system-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const excludedComponentProps = new Map([
['PageLayout.Pane', new Set(['padding', 'position', 'width'])],
['PageLayout.Content', new Set(['padding', 'width'])],
['ProgressBar', new Set(['bg'])],
['ProgressBar.Item', new Set(['bg'])],
['PointerBox', new Set(['bg'])],
['Truncate', new Set(['maxWidth'])],
['Stack', new Set(['padding', 'gap'])],
Expand Down

0 comments on commit f072227

Please sign in to comment.