Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gatsby-plugin-mdx): mdxrender should not accept components #24271

Merged
merged 4 commits into from Sep 9, 2020
Merged

fix(gatsby-plugin-mdx): mdxrender should not accept components #24271

merged 4 commits into from Sep 9, 2020

Conversation

floAr
Copy link
Contributor

@floAr floAr commented May 20, 2020

Description

Removing the components from MDXRenderer based on discussion in #21682

Documentation

As far as i can see documentation is fine, as https://www.gatsbyjs.org/packages/gatsby-plugin-mdx/#mdxprovider already has no mention of 'components'

Related Issues

Fixes #21682

@floAr floAr requested a review from a team as a code owner May 20, 2020 19:35
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label May 20, 2020
@floAr floAr marked this pull request as draft May 20, 2020 19:52
@floAr floAr marked this pull request as ready for review May 20, 2020 20:36
@floAr floAr changed the title Fix/mdx render accepts components #21682 Fix/(gatsby-plugin-mdx): mdxrender should not accept components May 20, 2020
@laurieontech laurieontech added topic: MDX and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels May 21, 2020
@LekoArts LekoArts changed the title Fix/(gatsby-plugin-mdx): mdxrender should not accept components fix(gatsby-plugin-mdx): mdxrender should not accept components Sep 9, 2020
Copy link
Contributor

@laurieontech laurieontech left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for taking it up!

@laurieontech laurieontech merged commit 9c58e34 into gatsbyjs:master Sep 9, 2020
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
…yjs#24271)

* Remove 'components' from MDXRenderer signature

Work for gatsbyjs#21682

* Removed 'components' from MDXRenderer type

* removed components

* removed unneeded extra imports
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.

gatsby-plugin-mdx: MDXRender accepts components - but no functionality
3 participants