From 53c927904919d15103d13847e06bf2d167add9a1 Mon Sep 17 00:00:00 2001 From: Timofeev Artyom <114585601+timofeevAV@users.noreply.github.com> Date: Sat, 20 Jan 2024 00:38:56 +0500 Subject: [PATCH] Update 100-touchables.md --- .../react-native/content/109-interactions/100-touchables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/roadmaps/react-native/content/109-interactions/100-touchables.md b/src/data/roadmaps/react-native/content/109-interactions/100-touchables.md index e338401fe..556e6faf9 100644 --- a/src/data/roadmaps/react-native/content/109-interactions/100-touchables.md +++ b/src/data/roadmaps/react-native/content/109-interactions/100-touchables.md @@ -59,7 +59,7 @@ In React Native, `Touchable` components are used to handle user interactions lik ``` -- `TouchableHighlight`: The view will slightly change scale when pressed. +- `TouchableScale`: The view will slightly change scale when pressed. ```jsx import { TouchableScale } from 'react-native-touchable-scale'; @@ -74,4 +74,4 @@ In React Native, `Touchable` components are used to handle user interactions lik ``` -Each of these components is from the `react-native` package, except `TouchableScale` which is from `react-native-touchable-scale`. They can be used interchangeably depending on the type of interaction you want to provide. The main `props` used with these components are `onPress`, `onLongPress`, and some component-specific ones like `underlayColor` for `TouchableHighlight`. \ No newline at end of file +Each of these components is from the `react-native` package, except `TouchableScale` which is from `react-native-touchable-scale`. They can be used interchangeably depending on the type of interaction you want to provide. The main `props` used with these components are `onPress`, `onLongPress`, and some component-specific ones like `underlayColor` for `TouchableHighlight`.