From 0dda81630a4756bcb748d4a97ea705650fd6e14d Mon Sep 17 00:00:00 2001 From: Blazej Kustra Date: Sun, 24 Nov 2024 22:44:13 +0100 Subject: [PATCH] Fix Avatar style type --- src/Avatar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Avatar.tsx b/src/Avatar.tsx index 19cb546..4f8c2e0 100644 --- a/src/Avatar.tsx +++ b/src/Avatar.tsx @@ -8,6 +8,7 @@ import { TextStyle, View, ViewProps, + ViewStyle, } from 'react-native'; import Initials from './Initials'; @@ -26,7 +27,7 @@ export interface Props extends ViewProps { color?: string; radius?: number; colorize?: boolean; - style?: StyleProp; + style?: StyleProp; textStyle?: StyleProp; badge?: BadgeProps['value']; badgeColor?: BadgeProps['color'];