Skip to content

Commit 487a25c

Browse files
committed
Improve BulkDeleteWithUndoButton props type
1 parent 1c6fa20 commit 487a25c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/ra-ui-materialui/src/button/BulkDeleteWithUndoButton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ export interface BulkDeleteWithUndoButtonProps<
6262
RecordType extends RaRecord = any,
6363
MutationOptionsError = unknown,
6464
> extends ButtonProps,
65-
UseBulkDeleteControllerParams<RecordType, MutationOptionsError> {
65+
Omit<
66+
UseBulkDeleteControllerParams<RecordType, MutationOptionsError>,
67+
'mutationMode'
68+
> {
6669
icon?: React.ReactNode;
6770
}
6871

0 commit comments

Comments
 (0)