We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c743549 commit 6e424f3Copy full SHA for 6e424f3
packages/rn-tester/js/components/ListExampleShared.js
@@ -88,14 +88,12 @@ class ItemComponent extends React.PureComponent<{
88
horizontal && {width: HORIZ_WIDTH},
89
fixedHeight && {height: ITEM_HEIGHT},
90
isSelected && styles.selectedItem, // TODO(macOS GH#774)
91
- ]}
92
- >
+ ]}>
93
{!item.noImage && <Image style={styles.thumb} source={imgSource} />}
94
<Text
95
style={[styles.text, isSelected && styles.selectedItemText]} // TODO(macOS GH#774)
96
selectable={textSelectable}
97
- numberOfLines={horizontal || fixedHeight ? 3 : undefined}
98
+ numberOfLines={horizontal || fixedHeight ? 3 : undefined}>
99
{item.title} - {item.text}
100
</Text>
101
</View>
0 commit comments