Sanity Library Reference Docs
    Preparing search index...

    Interface Component

    Interface for component

    interface Component {
        child?: Child;
        component: UserComponent;
        id: string;
        menuItemGroups: MenuItemGroup[];
        menuItems: MenuItem[];
        options: { [key: string]: unknown };
        title?: string;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    child?: Child

    Component child of type Child

    component: UserComponent

    Component of type UserComponent

    id: string

    Node ID

    menuItemGroups: MenuItemGroup[]

    Component menu item group, array of type MenuItemGroup

    menuItems: MenuItem[]

    Component menu items, array of type MenuItem

    options: { [key: string]: unknown }

    Component options

    title?: string

    Node ID

    type?: string

    Node type