/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * The interface for describing items that can be passed to the `items` property of the SplitButton or the DropDownButton as an alternative to passing them as children. */ export interface ButtonItemInterface { /** * Specifies the text of the item. */ text: string; /** * Defines an icon that will be rendered next to the item text. */ icon?: string; /** * Defines an icon with a custom CSS class that will be rendered next to the item text. */ iconClass?: string; /** * Defines the location of an image that will be displayed next to the item text. */ imageUrl?: string; /** * Determines whether the item is disabled. */ disabled?: boolean; /** * Defines a named slot `string`, functional or class component for rendering the item. The default rendering includes an icon, an image, and text. */ render?: any; }