Skip to main content

InternalRenderer

export
type InternalRenderer<
  T extends TNode
> = ComponentType<InternalRendererProps<T>>

An "internal renderer" is an internal custom renderer, adding specific features to the fallback TDefaultRenderer. For example, <img/> tags will be rendered via an internal renderer, while <div> will fallback to a ​TDefaultRenderer.

Type Parameters#

T#

The concrete type of ​TNode.