You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cndocs/pressable.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ id: pressable
3
3
title: Pressable
4
4
---
5
5
6
-
触摸控制是一个核心组件包装器,能够检测定义的任意子组件的不同阶段的按压交互情况。
6
+
按压控制是一个核心组件包装器,能够检测定义的任意子组件的不同阶段的按压交互情况。
7
7
8
8
```jsx
9
9
<Pressable onPress={onPressFunction}>
@@ -25,11 +25,11 @@ title: Pressable
25
25
26
26
<img src="https://cdn.jsdelivr.net/gh/reactnativecn/react-native-website@gh-pages/docs/assets/d_pressable_pressing.svg" width="1000" alt="Diagram of the onPress events in sequence." />
<img src="https://cdn.jsdelivr.net/gh/reactnativecn/react-native-website@gh-pages/docs/assets/d_pressable_anatomy.svg" width="1000" alt="Diagram of HitRect and PressRect and how they work." />
@@ -139,15 +139,15 @@ Either children or a function that receives a boolean reflecting whether the com
0 commit comments