From a52df811da7af8fc71f9c9220da00c8cbc27d30d Mon Sep 17 00:00:00 2001 From: Kai Welke Date: Mon, 28 Sep 2020 09:50:34 +0200 Subject: [PATCH] chore(docs): Add props to MyParagraph (#27124) Co-authored-by: gatsbybot --- packages/gatsby-plugin-mdx/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/gatsby-plugin-mdx/README.md b/packages/gatsby-plugin-mdx/README.md index ebbfc639f70c..6ce33a3259f9 100644 --- a/packages/gatsby-plugin-mdx/README.md +++ b/packages/gatsby-plugin-mdx/README.md @@ -475,7 +475,9 @@ all of the MDX content. import { MDXProvider } from "@mdx-js/react" const MyH1 = props =>

-const MyParagraph = props =>

+const MyParagraph = props => ( +

+) const components = { h1: MyH1,