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
Matvey10mo ago
you need to import the component in the mdx file
machina
machina10mo ago
How do I do that? the regular import syntax I would use for jsx isn't working
machina
machina10mo ago
No description
machina
machina10mo ago
No description