feat: add MDXLayoutRenderer component

This commit is contained in:
Timothy Lin
2021-05-26 00:11:20 +08:00
parent 37527331d4
commit 8914349256
5 changed files with 23 additions and 11 deletions

View File

@ -1,4 +1,4 @@
import MDXComponents from '@/components/MDXComponents'
import { MDXComponents } from '@/components/MDXComponents'
import fs from 'fs'
import matter from 'gray-matter'
import { serialize } from 'next-mdx-remote/serialize'