Skip to content

Commit 3be26a7

Browse files
authored
docs(datatable): add a disabled button to the batch action example story (#14218)
1 parent 77020b0 commit 3be26a7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react/src/components/DataTable/stories/DataTable-batch-actions.stories.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ export const Default = () => (
8585
<TableBatchAction
8686
tabIndex={batchActionProps.shouldShowBatchActions ? 0 : -1}
8787
renderIcon={TrashCan}
88-
onClick={batchActionClick(selectedRows)}>
88+
onClick={batchActionClick(selectedRows)}
89+
disabled>
8990
Delete
9091
</TableBatchAction>
9192
<TableBatchAction

0 commit comments

Comments
 (0)