@portabletext/to-html - v3.0.0
    Preparing search index...

    Type Alias NodeRenderer

    NodeRenderer: <T extends TypedObject>(options: Serializable<T>) => string

    Function that renders any node that might appear in a portable text array or block, including virtual "toolkit"-nodes like lists and nested spans

    Type declaration

      • <T extends TypedObject>(options: Serializable<T>): string
      • Type Parameters

        • T extends TypedObject

        Parameters

        Returns string