@progress/kendo-react-layout
Version:
React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package
31 lines (30 loc) • 986 B
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { BaseMenuItem } from './BaseMenuItem';
/**
* The interface for describing items that can be passed to the `items` property of the Menu as an alternative to passing them as children.
*/
export interface MenuItemModel extends BaseMenuItem {
/**
* Specifies name of the item.
*/
name?: string;
/**
* Specifies the children of the item.
*/
items?: MenuItemModel[];
}
/**
* @hidden
*/
export interface MenuItemInternalModel extends BaseMenuItem {
id: string;
items: MenuItemInternalModel[];
contentParentItemId?: string;
isLastFromSiblings: boolean;
}