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
Matvey16mo ago
you need to import the component in the mdx file
Ryan
RyanOP16mo ago
How do I do that? the regular import syntax I would use for jsx isn't working
Ryan
RyanOP16mo ago
No description
Ryan
RyanOP16mo ago
No description
Want results from more Discord servers?
Add your server