Skip to content

Commit 418ec46

Browse files
authored
Avatar - allow the override of testID in Badge (#2035)
1 parent ee920e3 commit 418ec46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/avatar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ class Avatar extends PureComponent<AvatarProps> {
251251
<Badge
252252
backgroundColor={this.getBadgeColor()}
253253
size={this.getBadgeSize()}
254+
testID={`${testID}.onlineBadge`}
254255
{...badgeProps}
255256
containerStyle={this.getBadgePosition()}
256-
testID={`${testID}.onlineBadge`}
257257
/>
258258
);
259259
}

0 commit comments

Comments
 (0)