1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-29 03:59:54 +02:00

Merge pull request #5057 from timofeevAV/patch-1

Remove duplication of TouchableHighlight
This commit is contained in:
dsh
2024-05-10 10:33:47 +01:00
committed by GitHub

View File

@@ -59,7 +59,7 @@ In React Native, `Touchable` components are used to handle user interactions lik
</TouchableNativeFeedback> </TouchableNativeFeedback>
``` ```
- `TouchableHighlight`: The view will slightly change scale when pressed. - `TouchableScale`: The view will slightly change scale when pressed.
```jsx ```jsx
import { TouchableScale } from 'react-native-touchable-scale'; import { TouchableScale } from 'react-native-touchable-scale';