Skip to content

Conversation

@dino475
Copy link
Contributor

@dino475 dino475 commented Feb 4, 2026

Added clarification that nested React component imports aren't supported in MDX files. All components referenced in JSX must be imported directly into the parent MDX page.

Files changed:

  • customize/react-components.mdx

Created by Mintlify agent


Note

Low Risk
Documentation-only change that adds guidance; no runtime or behavior changes.

Overview
Clarifies MDX React component usage by adding a Note stating that nested component imports are not supported.

Documentation now instructs that if a React component depends on other components, all of them must be imported directly in the parent MDX file (rather than importing within snippet/component files).

Written by Cursor Bugbot for commit ae84f75. This will update automatically on new commits. Configure here.

Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Copy link
Collaborator

@ethanpalm ethanpalm left a comment

Choose a reason for hiding this comment

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

minor wording change to remove passive voice

@ethanpalm ethanpalm merged commit eb9aa5b into main Feb 4, 2026
5 checks passed
@ethanpalm ethanpalm deleted the mintlify/clarify-nested-react-imports-92853 branch February 4, 2026 02:17
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.

3 participants