Skip to content

Commit 9beee67

Browse files
committed
fix how we pass containerStyle
1 parent 250cc15 commit 9beee67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/badge/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default class Badge extends BaseComponent {
163163

164164
return (
165165
// The extra View wrapper is to break badge's flex-ness
166-
<View>
166+
<View style={containerStyle}>
167167
<Container
168168
testID={testID || testId}
169169
{...others}
@@ -172,7 +172,6 @@ export default class Badge extends BaseComponent {
172172
this.styles.badge,
173173
borderWidth && {borderWidth},
174174
borderColor && {borderColor},
175-
containerStyle,
176175
backgroundStyle,
177176
]}
178177
{...animationProps}

0 commit comments

Comments
 (0)