({
icon,
color: iconColor,
style,
theme: themeOverrides,
}: Props)
| 43 | * ``` |
| 44 | */ |
| 45 | const ListIcon = ({ |
| 46 | icon, |
| 47 | color: iconColor, |
| 48 | style, |
| 49 | theme: themeOverrides, |
| 50 | }: Props) => { |
| 51 | const theme = useInternalTheme(themeOverrides); |
| 52 | |
| 53 | return ( |
| 54 | <View |
| 55 | style={[theme.isV3 ? styles.itemV3 : styles.item, style]} |
| 56 | pointerEvents="box-none" |
| 57 | > |
| 58 | <Icon source={icon} size={ICON_SIZE} color={iconColor} theme={theme} /> |
| 59 | </View> |
| 60 | ); |
| 61 | }; |
| 62 | |
| 63 | const styles = StyleSheet.create({ |
| 64 | item: { |
nothing calls this directly
no test coverage detected
searching dependent graphs…