You're not able to set a custom wrapper component in v1.
"@mdx-js/mdx": "^1.0.0-alpha.7" and "@mdx-js/tag": "^1.0.0-alpha.6"Add a MDXProvider and set the wrapper to be something other than default. Eg:
export default function App({ children }) {
return (
<MDXProvider components={{ wrapper: React.Fragment }}>
{children}
</MDXProvider>
)
}
I now expect that the wrapper component would be a Fragment ie. no html tag
The output would be something like <div name="wrapper"><!-- all other content --></div>
I _believe_ this should be fixed with #479 which is now released as 1.0.0-alpha.8.
Yeah can confirm that it's fixed with the latest release 馃帀
Most helpful comment
Yeah can confirm that it's fixed with the latest release 馃帀