UNPKG

next-mdx-remote

Version:

utilities for loading mdx from any remote source as data, rather than as a local import

11 lines (8 loc) 234 B
import hydrate from 'hydrate' import renderToString from 'render-to-string' declare module 'next-mdx-remote/render-to-string' { export default renderToString } declare module 'next-mdx-remote/hydrate' { export default hydrate }