-
Notifications
You must be signed in to change notification settings - Fork 637
styled-react: Export BaseStyles #6968
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: 456860d 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 |
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.
Pull Request Overview
This PR adds a re-export of the BaseStyles
component from @primer/react
to the @primer/styled-react
package. This is a preparation step to consolidate theme-related exports (ThemeProvider
, BaseStyles
, and useTheme
) in the styled-react package while keeping them synchronized.
- Adds BaseStyles export to the styled-react package index
- Updates the corresponding test snapshot to include the new export
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
packages/styled-react/src/index.tsx | Adds BaseStyles re-export from @primer/react |
packages/styled-react/src/tests/snapshots/exports.test.ts.snap | Updates test snapshot to include BaseStyles in the exported list |
👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/4116 |
🟢 ci completed with status |
@primer/styled-react
at the same time to keep them in sync.Rollout strategy
Testing & Reviewing
Merge checklist