Skip to content

Commit 0b7d80e

Browse files
committed
Include resource prop in CloneButton types
1 parent 1aca5b0 commit 0b7d80e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ const sanitizeRestProps = ({
7373
}: Omit<CloneButtonProps, 'label' | 'scrollToTop' | 'icon'>) => rest;
7474

7575
interface Props {
76+
resource?: string;
7677
record?: any;
7778
icon?: ReactNode;
7879
scrollToTop?: boolean;

0 commit comments

Comments
 (0)