Skip to content

Commit 984f19b

Browse files
committed
accept a ReactNode
1 parent 9cfdf7c commit 984f19b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

packages/ra-ui-materialui/src/list/BulkActionsToolbar.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import * as React from 'react';
2-
import {
3-
isValidElement,
4-
type ReactElement,
5-
type ReactNode,
6-
useCallback,
7-
} from 'react';
2+
import { isValidElement, type ReactNode, useCallback } from 'react';
83
import {
94
type ComponentsOverrides,
105
styled,
@@ -95,7 +90,7 @@ export interface BulkActionsToolbarProps {
9590
children?: ReactNode;
9691
label?: string;
9792
className?: string;
98-
selectAllButton?: ReactElement | false;
93+
selectAllButton?: ReactNode;
9994
}
10095

10196
const PREFIX = 'RaBulkActionsToolbar';

0 commit comments

Comments
 (0)