We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dacfb17 commit 8a6f3acCopy full SHA for 8a6f3ac
1 file changed
packages/uniwind/src/components/native/Text.tsx
@@ -24,9 +24,6 @@ export const Text = copyComponentProperties(RNText, (props: TextProps) => {
24
style={[style, props.style]}
25
selectionColor={props.selectionColor ?? selectionColor}
26
numberOfLines={(style as StyleWithWebkitLineClamp).WebkitLineClamp ?? props.numberOfLines}
27
- // Without onPress function Text is not clickable, so onPressIn and onPressOut are not working
28
- onPress={event => props.onPress?.(event)}
29
- suppressHighlighting={props.onPress ? props.suppressHighlighting : true}
30
onPressIn={event => {
31
setIsPressed(true)
32
props.onPressIn?.(event)
0 commit comments