mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
Update ListItem.tsx
This commit is contained in:
parent
6de5f49179
commit
5097c88e16
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user