React components not rendering in mdx (contentlayer)

Attached is my MDX file and a screenshot of it rendering on the page. How can I import and use components in the posts, such that contentlayer correctly renders them in the final page?
No description
No description
4 Replies
Matvey
Matvey15mo ago
you need to import the component in the mdx file
Ryan
RyanOP15mo ago
How do I do that? the regular import syntax I would use for jsx isn't working
Ryan
RyanOP15mo ago
No description
Ryan
RyanOP15mo ago
No description
Want results from more Discord servers?
Add your server