UNPKG

react-remarkify

Version:

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

4 lines (3 loc) 300 B
import { ReactNode } from "react"; import { UseRemarkOptions } from "./types.js"; export declare function useRemark({ markdown, rehypePlugins, rehypeReactOptions, remarkParseOptions, remarkPlugins, remarkToRehypeOptions, components, udpateMode, updateDelay, onError, }: UseRemarkOptions): ReactNode;