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

    Interface PortableTextOptions

    Options for the Portable Text to HTML function

    interface PortableTextOptions {
        components?: Partial<PortableTextHtmlComponents>;
        onMissingComponent?: false | MissingComponentHandler;
    }
    Index

    Properties

    components?: Partial<PortableTextHtmlComponents>

    Component functions to use for rendering

    onMissingComponent?: false | MissingComponentHandler

    Function to call when encountering unknown unknown types, eg blocks, marks, block style, list styles without an associated component function.

    Will print a warning message to the console by default. Pass false to disable.