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

ButtonItemProps

The props of the ButtonItem component. The ButtonItem component renders each list item in the dropdown buttons list.

NameTypeDefaultDescription

className?

string

dataItem

any

focused?

boolean

id?

string

index?

number

item?

"null" | ComponentType<{ item: any; itemIndex: number; }>

render?

ComponentType<{ item: any; itemIndex: number; }> | (li: ReactElement<HTMLLIElement>, props: ButtonItemProps) => ReactNode

textField?

string

Methods

onClick

Parameters

event

MouseEvent<HTMLLIElement>

index?

number

onDown

Parameters

event

PointerEvent<HTMLLIElement> | MouseEvent<HTMLLIElement>