From a2691001ece04e72ffe049926223bf78b2b6ec2d Mon Sep 17 00:00:00 2001 From: Dean from Mintlify Date: Tue, 3 Feb 2026 17:31:28 -0800 Subject: [PATCH 1/2] Update customize/react-components.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> --- customize/react-components.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/customize/react-components.mdx b/customize/react-components.mdx index 0fc0a0322..2a88615ad 100644 --- a/customize/react-components.mdx +++ b/customize/react-components.mdx @@ -94,6 +94,10 @@ The counter renders as an interactive React component. To import React components in your MDX files, the component files must be located in the `/snippets/` folder. Learn more about [reusable snippets](/create/reusable-snippets). + +Nested imports are not supported. If a React component references other components, all components must be imported directly into the parent MDX file rather than importing them within the component file itself. + + ### Example This example declares a `ColorGenerator` component that uses multiple React hooks and then uses it in an MDX file. From ae84f756ddb5ac2728c1373731dd76f941e22d2f Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Tue, 3 Feb 2026 18:08:51 -0800 Subject: [PATCH 2/2] Update customize/react-components.mdx --- customize/react-components.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize/react-components.mdx b/customize/react-components.mdx index 2a88615ad..fcdcb8251 100644 --- a/customize/react-components.mdx +++ b/customize/react-components.mdx @@ -95,7 +95,7 @@ The counter renders as an interactive React component. To import React components in your MDX files, the component files must be located in the `/snippets/` folder. Learn more about [reusable snippets](/create/reusable-snippets). -Nested imports are not supported. If a React component references other components, all components must be imported directly into the parent MDX file rather than importing them within the component file itself. +Nested imports are not supported. If a React component references other components, you must import all components directly into the parent MDX file rather than importing components within component files. ### Example