Sanity Library Reference Docs
    Preparing search index...

    Interface UnserializedListItem

    Interface for unserialized list items.

    interface UnserializedListItem {
        child?: UnserializedListItemChild;
        displayOptions?: ListItemDisplayOptions;
        i18n?: I18nTextRecord<"title">;
        icon?: ReactNode | ComponentType<{}>;
        id: string;
        schemaType?: string | SchemaType;
        title: string;
    }
    Index

    Properties

    List item child. See UnserializedListItemChild

    displayOptions?: ListItemDisplayOptions

    List item display options. See ListItemDisplayOptions

    i18n?: I18nTextRecord<"title">

    The i18n key and namespace used to populate the localized title. This is the recommend way to set the title if you are localizing your studio.

    icon?: ReactNode | ComponentType<{}>

    List item icon

    id: string

    List item ID

    schemaType?: string | SchemaType

    List item schema. See SchemaType

    title: string

    List item title