API Reference > ui-framework > Item > CommandItemProps CommandItemProps Interface Properties for a Command item. Extends ItemProps CommandHandler Properties Name Type Description commandId undefined | string Inherited properties Name Type Inherited from Description betaBadge undefined | false | true ItemProps Indicates whether to draw a Beta badge. execute undefined | (args?: any) => any CommandHandler Function to execute getCommandArgs undefined | () => any[] CommandHandler Function to get the parameters passed to the function iconSpec undefined | IconSpec IconProps CSS class name or SvgSprite for icon parameters undefined | any CommandHandler Parameters passed to the function Defined in ui/framework/src/ui-framework/shared/ItemProps.ts Line 35 Last Updated: 13 June, 2024