Skip to content

Commit

Permalink
Add React peer dependency for @shopify/polaris-icons
Browse files Browse the repository at this point in the history
This package depedends on React as a peer dependency in its produced
output for SVG icons that end up rended as React components.
  • Loading branch information
ryanwilsonperkin committed Apr 2, 2024
1 parent f630899 commit 6db39eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-buckets-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris-icons': patch
---

Add missing peer dependency on React
3 changes: 3 additions & 0 deletions polaris-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,8 @@
"js-yaml": "^4.0.0",
"rehype-parse": "^7.0.1",
"unified": "^9.2.1"
},
"peerDependencies": {
"react": "*"
}
}

0 comments on commit 6db39eb

Please sign in to comment.