Sanity Library Reference Docs
    Preparing search index...

    Interface BuildableComponent

    Interface for buildable component

    interface BuildableComponent {
        child?: Child;
        component?: UserComponent;
        id?: string;
        menuItemGroups?: (MenuItemGroup | MenuItemGroupBuilder)[];
        menuItems?: (MenuItem | MenuItemBuilder)[];
        options?: { [key: string]: unknown };
        title?: string;
        type?: string;
    }

    Hierarchy

    Index

    Properties

    child?: Child

    Component child of type Child

    component?: UserComponent

    Component of type UserComponent

    id?: string

    Node ID

    menuItemGroups?: (MenuItemGroup | MenuItemGroupBuilder)[]

    Component menu item groups. See MenuItemGroup and MenuItemGroupBuilder

    menuItems?: (MenuItem | MenuItemBuilder)[]

    Component menu items. See MenuItem and MenuItemBuilder

    options?: { [key: string]: unknown }

    Component options

    title?: string

    Node ID

    type?: string

    Node type