We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953a212 commit 0dda816Copy full SHA for 0dda816
src/Avatar.tsx
@@ -8,6 +8,7 @@ import {
8
TextStyle,
9
View,
10
ViewProps,
11
+ ViewStyle,
12
} from 'react-native';
13
14
import Initials from './Initials';
@@ -26,7 +27,7 @@ export interface Props extends ViewProps {
26
27
color?: string;
28
radius?: number;
29
colorize?: boolean;
- style?: StyleProp<ImageStyle>;
30
+ style?: StyleProp<ImageStyle & ViewStyle>;
31
textStyle?: StyleProp<TextStyle>;
32
badge?: BadgeProps['value'];
33
badgeColor?: BadgeProps['color'];
0 commit comments