Interface: RowAction\<TRow\>
Defined in: src/model/types.ts:204
A single per-row action shown in the row-actions column.
Type Parameters
TRow
TRow
Properties
disabled?
optionaldisabled?: (row) =>boolean
Defined in: src/model/types.ts:216
When provided, disables the action for rows where this returns true.
Parameters
row
TRow
Returns
boolean
icon?
optionalicon?:ReactNode
Defined in: src/model/types.ts:210
Optional icon node. Renders as the button content in inline mode.
id
id:
string
Defined in: src/model/types.ts:206
Stable, unique id for the action.
label
label:
string
Defined in: src/model/types.ts:208
Human-readable label (used for aria-label, menu text, and tooltip).
onClick
onClick: (
row,event) =>void
Defined in: src/model/types.ts:212
Click handler — receives the row and the original mouse event.
Parameters
row
TRow
event
MouseEvent
Returns
void
visible?
optionalvisible?: (row) =>boolean
Defined in: src/model/types.ts:214
When provided, hides the action for rows where this returns false.
Parameters
row
TRow
Returns
boolean