Interface.TableRowAction
@standhigher/polaris-data-table
@standhigher/polaris-data-table / TableRowAction
Interface: TableRowAction<T>
Type Parameters
T
T extends object
Properties
id
id:
string
content
content:
ReactNode
destructive?
optionaldestructive?:boolean
perform
perform: (
context) =>void|Promise<void>
Parameters
context
row
T
rowId
string
Returns
void | Promise<void>