Skip to content

Importing other .mdx files #904

Answered by fuma-nama
arielweinberger asked this question in Q&A
Discussion options

You must be logged in to vote

It's because the MDX components exported from MDX files accept the components prop, your current context (the original MDX file) has the components prop passed in but it's not shared to the imported MDX component.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arielweinberger
Comment options

Answer selected by arielweinberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants