MCPcopy
hub / github.com/BlueWallet/BlueWallet / ListItemProps

Interface ListItemProps

components/ListItem.tsx:8–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { useTheme } from './themes';
7
8interface ListItemProps {
9 leftAvatar?: React.JSX.Element;
10 containerStyle?: StyleProp<ViewStyle>;
11 noFeedback?: boolean;
12 bottomDivider?: boolean;
13 testID?: string;
14 switchTestID?: string;
15 onPress?: () => void;
16 disabled?: boolean;
17 switch?: SwitchProps;
18 title: string;
19 titleStyle?: StyleProp<TextStyle>;
20 subtitle?: string | React.ReactNode;
21 subtitleNumberOfLines?: number;
22 rightTitle?: string;
23 rightTitleStyle?: StyleProp<TextStyle>;
24 rightSubtitle?: string | React.ReactNode;
25 rightSubtitleStyle?: StyleProp<TextStyle>;
26 chevron?: boolean;
27 checkmark?: boolean;
28 isLoading?: boolean;
29}
30
31const ListItem: React.FC<ListItemProps> = React.memo(
32 ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected