Skip to content

Commit

Permalink
fix(core): 🐛 name will be converted to displayName
Browse files Browse the repository at this point in the history
name will be converted to displayName for react purposes

Ref #305
  • Loading branch information
techoneel committed Aug 21, 2024
1 parent c028a0f commit 66e69d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/components/dataDisplay/CoreAvatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function CoreAvatar(props) {

return <NativeAvatar {...props} src={src} />;
}
CoreAvatar.name = "CoreAvatar";
CoreAvatar.displayName = "CoreAvatar";
CoreAvatar.validProps = [
{
description: "Used in combination with src or srcSet to provide an alt attribute for the rendered img element.",
Expand Down

0 comments on commit 66e69d5

Please sign in to comment.