@itwin/appui-abstract
Version:
iTwin.js UI abstractions
21 lines • 906 B
TypeScript
/** @packageDocumentation
* @module Item
*/
import { AbstractActionItemProps, CommonItemProps } from "./AbstractItemProps";
import { ConditionalStringValue } from "./ConditionalStringValue";
/** Properties for a Menu item
* @public
*/
export interface AbstractMenuItemProps extends CommonItemProps {
/** The id for the menu item. */
id: string;
/** The item to execute when this item is invoked. Either 'item' or 'submenu' must be specified. */
item?: AbstractActionItemProps;
/** Nested array of item props. Either 'item' or 'submenu' must be specified. */
submenu?: AbstractMenuItemProps[];
/** Icon to display on right side of the menu item.
* Name of icon WebFont entry or if specifying an imported SVG symbol use "webSvg:" prefix to imported symbol Id.
*/
iconRight?: string | ConditionalStringValue;
}
//# sourceMappingURL=AbstractMenuItemProps.d.ts.map