Sanity Library Reference Docs
    Preparing search index...

    Interface BaseGenericList

    Interface for base generic list

    interface BaseGenericList {
        canHandleIntent?: IntentChecker;
        child: Child;
        currentMaxWidth?: number;
        defaultLayout?: PreviewLayoutKey;
        displayOptions?: ListDisplayOptions;
        i18n?: I18nTextRecord<"title">;
        id: string;
        initialValueTemplates?: (
            InitialValueTemplateItem
            | InitialValueTemplateItemBuilder
        )[];
        maxWidth?: number;
        minWidth?: number;
        title?: string;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    canHandleIntent?: IntentChecker

    Can handle intent. See IntentChecker

    child: Child

    List child. See Child

    currentMaxWidth?: number

    Maximum width of the list pane before it is manually resized, in pixels. Defaults to 350

    defaultLayout?: PreviewLayoutKey

    List layout key.

    displayOptions?: ListDisplayOptions

    List display options. See ListDisplayOptions

    i18n?: I18nTextRecord<"title">
    id: string

    Node ID

    initialValueTemplates?: (
        InitialValueTemplateItem
        | InitialValueTemplateItemBuilder
    )[]

    List initial values array. See InitialValueTemplateItem and InitialValueTemplateItemBuilder

    maxWidth?: number

    Maximum width of the list pane in pixels. Defaults to 640

    minWidth?: number

    Minimum width of the list pane in pixels. Defaults to 320

    title?: string

    Node ID

    type?: string

    Node type