Skip to content

Commit

Permalink
Fix docs for onResponderGrant (#3785)
Browse files Browse the repository at this point in the history
  • Loading branch information
javache authored Jul 7, 2023
1 parent 14b87f8 commit 84e581a
Show file tree
Hide file tree
Showing 18 changed files with 90 additions and 54 deletions.
8 changes: 5 additions & 3 deletions docs/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| ------------------------------------------------- |
| ({nativeEvent: [PressEvent](pressevent)}) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| ------------------------------------------------------------ |
| ({nativeEvent: [PressEvent](pressevent)}) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| ------------------------------------------------- |
| ({nativeEvent: [PressEvent](pressevent)}) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| ------------------------------------------------------------ |
| ({nativeEvent: [PressEvent](pressevent)}) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.65/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,11 @@ This function is called on press.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.65/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type | Required |
| --------------------------------------------------- | -------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void | No |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type | Required |
| -------------------------------------------------------------- | -------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean | No |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.66/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.66/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.67/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.67/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.68/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.68/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.69/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.69/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.70/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.70/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| --------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| -------------------------------------------------------------- |
| ({ nativeEvent: [PressEvent](pressevent) }) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.71/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| ------------------------------------------------- |
| ({nativeEvent: [PressEvent](pressevent)}) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| ------------------------------------------------------------ |
| ({nativeEvent: [PressEvent](pressevent)}) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.71/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| ------------------------------------------------- |
| ({nativeEvent: [PressEvent](pressevent)}) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| ------------------------------------------------------------ |
| ({nativeEvent: [PressEvent](pressevent)}) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.72/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,11 @@ Called when a touch is released.

The View is now responding to touch events. This is the time to highlight and show the user what is happening.

| Type |
| ------------------------------------------------- |
| ({nativeEvent: [PressEvent](pressevent)}) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| ------------------------------------------------------------ |
| ({nativeEvent: [PressEvent](pressevent)}) => void \| boolean |

---

Expand Down
8 changes: 5 additions & 3 deletions website/versioned_docs/version-0.72/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

| Type |
| ------------------------------------------------- |
| ({nativeEvent: [PressEvent](pressevent)}) => void |
On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.

| Type |
| ------------------------------------------------------------ |
| ({nativeEvent: [PressEvent](pressevent)}) => void \| boolean |

---

Expand Down

0 comments on commit 84e581a

Please sign in to comment.