-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi there
Have found that using the props
key in next-mdx-remote
's scope
property always returns an empty object
See this example:
https://codesandbox.io/s/next-mdx-remote-props-s85i4?file=/pages/index.js
props.title
returns undefined
, but props2.title
returns as expected. props
does however return an empty object.
Could there be something overwriting it somewhere in MDX, or is it somehow a reserved word?
Would ideally like to use the props.
notation in MDX pages as it's familiar from the React ecosystem.
Any help appreciated. Thanks
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working