Skip to content

Commit

Permalink
docs(datatable): add a disabled button to the batch action example st…
Browse files Browse the repository at this point in the history
…ory (#14218)
  • Loading branch information
tay1orjones committed Jul 14, 2023
1 parent 77020b0 commit 3be26a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export const Default = () => (
<TableBatchAction
tabIndex={batchActionProps.shouldShowBatchActions ? 0 : -1}
renderIcon={TrashCan}
onClick={batchActionClick(selectedRows)}>
onClick={batchActionClick(selectedRows)}
disabled>
Delete
</TableBatchAction>
<TableBatchAction
Expand Down

0 comments on commit 3be26a7

Please sign in to comment.