跳到主要内容

Interface.TableBulkAction

@standhigher/polaris-data-table


@standhigher/polaris-data-table / TableBulkAction

Interface: TableBulkAction

Properties​

id​

id: string


content​

content: ReactNode


destructive?​

optional destructive?: boolean


perform​

perform: (context) => Promise<TableBulkActionResult>

Parameters​

context​
actionId​

string

selection​

TableSelection

idempotencyKey​

string

Returns​

Promise<TableBulkActionResult>