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,5 +1,5 @@
import { MDXRemote } from 'next-mdx-remote'
import MDXComponents from '@/components/MDXComponents'
import { MDXComponents } from '@/components/MDXComponents'
import AuthorLayout from '@/layouts/AuthorLayout'
import { getFileBySlug } from '@/lib/mdx'