Skip to content

Commit

Permalink
docs: correct render function name in react example (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 authored Mar 2, 2021
1 parent 8ce7929 commit c2134e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import Example from './example.mdx'
const h1 = props => <h1 style={{color: 'tomato'}} {...props} />

console.log(
render(
renderToString(
<MDXProvider components={{h1}}>
<Example />
</MDXProvider>
Expand Down

1 comment on commit c2134e1

@vercel
Copy link

@vercel vercel bot commented on c2134e1 Mar 2, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.