Closed jamesknelson closed 5 years ago
Markdown Component Loader also handles this by giving Markdown components access to the entire props
object.
Going to go ahead and close this since props are exposed to the global scope and can be accessed in JSX blocks. Thanks for opening!
It would be nice to define how props are passed to components.
MDXC supports
params paramName
at the top of the file, along with imports/exports. I think ideally, it'd look more likeprops { destructured, props, ...etc }
.