We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a89bdd9 commit a5bc46dCopy full SHA for a5bc46d
src/packages/avatar/avatar.taro.tsx
@@ -136,7 +136,6 @@ export const Avatar: FunctionComponent<
136
{(showMax || !groupMax || avatarIndex <= groupMax) && (
137
<View
138
className={cls}
139
- // {...rest}
140
style={!showMax ? styles : maxStyles}
141
onClick={clickAvatar}
142
ref={avatarRef}
@@ -147,7 +146,7 @@ export const Avatar: FunctionComponent<
147
146
<Image
148
className={`nut-avatar-img nut-avatar-${groupSize || size || 'normal'}-img`}
149
src={src}
150
- style={{ objectFit: fit, ...styles }}
+ style={{ objectFit: fit }}
151
onError={errorEvent}
152
/>
153
)}
0 commit comments