mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-29 20:21:50 +02:00
Merge pull request #5057 from timofeevAV/patch-1
Remove duplication of TouchableHighlight
This commit is contained in:
@@ -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';
|
||||||
|
Reference in New Issue
Block a user