UNPKG

react-remarkify

Version:

A simple React.js utility to convert Markdown into React components.

4 lines (3 loc) 277 B
import { JSX } from "react"; import { UseRemarkOptions } from "./types.js"; export declare function useRemark({ markdown, rehypePlugins, rehypeReactOptions, remarkParseOptions, remarkPlugins, remarkToRehypeOptions, components, onError }: UseRemarkOptions): JSX.Element | null;