Skip to content

Conversation

@kevinports
Copy link
Contributor

PR App Fix RM-XYZ

🧰 Changes

Add heading prop to the Content.Toc component so we can control it in the React app for internationalization

🧬 QA & Testing

Toc: (props: { heading?: string }) =>
Toc ? (
<Components.TableOfContents>
<Toc {...props} />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there are actually any props getting passed in here?

},
];

describe.skip('Table of Contents', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed skipping the whole block and moved to the failing cases so a few passing test cases can be included.

@kevinports kevinports merged commit 5f28c5e into next Oct 8, 2025
7 checks passed
@kevinports kevinports deleted the feat/control-to-heading-label branch October 8, 2025 20:58
rafegoldberg pushed a commit that referenced this pull request Oct 8, 2025
## Version 11.3.0
### ✨ New & Improved

* **TableOfContents:** add prop to control TOC heading label ([#1207](#1207)) ([5f28c5e](5f28c5e))

<!--SKIP CI-->
@rafegoldberg
Copy link
Contributor

This PR was released!

🚀 Changes included in v11.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants