Components
    • Animation
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Grid
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListView
    • Notification
    • PDF Processing
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • Sortable
    • Tooltip
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

ButtonItem

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.

disabled?

boolean

Determines whether the item is disabled.

icon?

string

Defines an icon that will be rendered next to the item text.

iconClass?

string

Defines an icon with a custom CSS class that will be rendered next to the item text.

imageUrl?

string

Defines the location of an image that will be displayed next to the item text.

render?

any

A React functional or class component for rendering the item. The default rendering includes an icon, an image, and text.

text

string

Specifies the text of the item.

In this article

Not finding the help you need?