From eb68e2c0fc918a0c0d715ddf11a959f1a93f1335 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Fri, 27 Sep 2019 15:42:16 +0200 Subject: [PATCH] Pass props to TableCell --- .../TableCellAvatar/TableCellAvatar.tsx | 5 ++- .../__snapshots__/Stories.test.ts.snap | 41 +++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/src/components/TableCellAvatar/TableCellAvatar.tsx b/src/components/TableCellAvatar/TableCellAvatar.tsx index 893ebcc8a..e35d9c8d0 100644 --- a/src/components/TableCellAvatar/TableCellAvatar.tsx +++ b/src/components/TableCellAvatar/TableCellAvatar.tsx @@ -52,9 +52,10 @@ const TableCellAvatar = withStyles(styles, { name: "TableCellAvatar" })( children, className, thumbnail, - avatarProps + avatarProps, + ...props }: TableCellAvatarProps) => ( - +
{thumbnail === undefined ? ( diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 1406b47f9..21cfb6bbc 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -94344,6 +94344,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `