remote mdx components
Answered
Australian Freshwater Crocodile posted this in #help-forum
Australian Freshwater CrocodileOP
I am about to crash out.
Using next mdx remote:
Using next mdx remote:
<MDXRemote components={useMDXComponents} source={post.content} />
useMDXComponents
is the exported function from mdx-components.tsx
- but my custom components aren't being seen in the rendered MDX?????Answered by Australian Freshwater Crocodile
turns out you cant pass functions! must be an actual object!
1 Reply
Australian Freshwater CrocodileOP
turns out you cant pass functions! must be an actual object!
Answer