-
Notifications
You must be signed in to change notification settings - Fork 353
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
feat(sandpack-react): support custom active file #4606
Conversation
🦋 Changeset detectedLatest commit: 4e02624 The changes in this PR will be included in the next version bump. This PR includes changesets to release 252 packages
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 |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4606 +/- ##
==========================================
- Coverage 57.59% 54.08% -3.51%
==========================================
Files 672 652 -20
Lines 17794 17902 +108
Branches 3876 4125 +249
==========================================
- Hits 10249 9683 -566
- Misses 6934 7567 +633
- Partials 611 652 +41 ☔ View full report in Codecov by Sentry. 📢 Have feedback on the report? Share it here. |
Summary
🤖 Generated by Copilot at 97277ca
This pull request adds a feature to
@modern-js/sandpack-react
that allows users to specify the default file in the sandpack editor. It also updates theModernSandpack
andSandpack
components and adds a changeset file for the patch release.Details
🤖 Generated by Copilot at 97277ca
activeFile
prop toModernSandpack
component to customize default file in sandpack editor (link, link, link,.changeset/wet-cougars-act.md
)Related Issue
Checklist
pnpm run change
.