Skip to content

Commit 43940e1

Browse files
authored
asCardChild - fix displayName (fix theme for Card.Section & Card.Image) (#819)
1 parent d7afcdc commit 43940e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/card/asCardChild.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function asCardChild<T>(
1212
);
1313
};
1414

15+
cardChild.displayName = WrappedComponent.displayName;
16+
1517
return cardChild;
1618
}
1719

0 commit comments

Comments
 (0)