Skip to main content

react-renderer

package @remirror/react-renderer

variable Callout

Signature:

Callout: FC<{
node: RemirrorJSON;
markMap: MarkMap;
children?: never;
}>

variable CodeBlock

Signature:

CodeBlock: FC<{
node: RemirrorJSON;
markMap: MarkMap;
}>

variable createIFrameHandler

Signature:

createIFrameHandler: (overwriteAttrs?: Record<string, Literal>) => IFrameHandler

variable createLinkHandler

Signature:

createLinkHandler: (overwriteAttrs?: Record<string, Literal>) => LinkHandler

variable Doc

Signature:

Doc: FC<SubRenderTreeProps>

variable Heading

Signature:

Heading: FC<{
node: RemirrorJSON;
markMap: MarkMap;
}>

variable RemirrorRenderer

A recursively rendered tree.

Signature:

RemirrorRenderer: FC<RenderTreeProps>

variable TextHandler

Signature:

TextHandler: FC<TextHandlerProps>

type MarkMap

Signature:

export type MarkMap = Partial<Record<string, string | ComponentType<any>>>;