Sanity Library Reference Docs
    Preparing search index...

    Interface EditorNode

    Interface for Editor node

    interface EditorNode {
        child?: Child;
        id: string;
        options: {
            id: string;
            template?: string;
            templateParameters?: { [key: string]: any };
            type?: string;
        };
        title?: string;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    child?: Child

    Editor child. See Child

    id: string

    Node ID

    options: {
        id: string;
        template?: string;
        templateParameters?: { [key: string]: any };
        type?: string;
    }

    Editor options

    Type declaration

    • id: string

      Editor ID

    • Optionaltemplate?: string

      Editor template

    • OptionaltemplateParameters?: { [key: string]: any }

      Template parameters

    • Optionaltype?: string

      Editor type

    title?: string

    Node ID

    type?: string

    Node type