Skip to content

Conversation

@JounQin
Copy link
Collaborator

@JounQin JounQin commented Nov 26, 2025

Summary

export FallbackHeading for reusing

We're customizing Overview component, FallbackHeading component is used for headings.

Related Issue

N/A

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented Nov 26, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 43f4d91
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/69297eb5002fd50008e3d8c7
😎 Deploy Preview https://deploy-preview-2813--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot finished reviewing on behalf of JounQin November 26, 2025 09:02
Copy link
Contributor

Copilot AI left a 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 exports the FallbackHeading component from the core theme package to enable reuse in custom implementations of the Overview component.

  • Added export for FallbackHeading component
  • Added export for FallbackTitle component (which was already available but not explicitly exported)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/core/src/theme/index.ts Updated exports to include FallbackHeading and FallbackTitle from DocContent
packages/core/src/theme/components/DocContent/index.tsx Added export statement for FallbackHeading

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@JounQin JounQin force-pushed the chore/FallbackHeading branch from fa61833 to a35bfe7 Compare November 28, 2025 05:32
@JounQin JounQin force-pushed the chore/FallbackHeading branch from a35bfe7 to e11f9d2 Compare November 28, 2025 09:52
@SoonIter SoonIter changed the title chore: export FallbackHeading for reusing chore(theme): export FallbackHeading for reusing Nov 28, 2025
@SoonIter SoonIter merged commit f6baab9 into web-infra-dev:main Dec 2, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants