Skip to content

Commit

Permalink
Fix Avatar style type
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Nov 24, 2024
1 parent 953a212 commit 0dda816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
TextStyle,
View,
ViewProps,
ViewStyle,
} from 'react-native';

import Initials from './Initials';
Expand All @@ -26,7 +27,7 @@ export interface Props extends ViewProps {
color?: string;
radius?: number;
colorize?: boolean;
style?: StyleProp<ImageStyle>;
style?: StyleProp<ImageStyle & ViewStyle>;
textStyle?: StyleProp<TextStyle>;
badge?: BadgeProps['value'];
badgeColor?: BadgeProps['color'];
Expand Down

0 comments on commit 0dda816

Please sign in to comment.