From 5097c88e167a6ce901322a406e7d54b62a4afe46 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Tue, 19 Dec 2023 11:33:33 -0400 Subject: [PATCH] Update ListItem.tsx --- components/ListItem.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ListItem.tsx b/components/ListItem.tsx index ff1e876a6..fb4142ed3 100644 --- a/components/ListItem.tsx +++ b/components/ListItem.tsx @@ -5,7 +5,7 @@ import { useTheme } from './themes'; // Update the type for the props interface ListItemProps { - rightIcon?: object; + rightIcon?: any; leftAvatar?: React.Component; containerStyle?: object; Component?: typeof React.Component | typeof PressableWrapper; @@ -17,7 +17,7 @@ interface ListItemProps { hideChevron?: boolean; disabled?: boolean; switch?: object; // Define more specific type if needed - leftIcon?: object; // Define more specific type if needed + leftIcon?: any; // Define more specific type if needed title: string; subtitle?: string; subtitleNumberOfLines?: number;