Skip to content

Commit

Permalink
correct type of Pressable style prop (#3936)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvarrose authored Dec 4, 2023
1 parent b1379a7 commit 821172e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions docs/pressable.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ Additional distance outside of this view in which a touch is considered a press

Either view styles or a function that receives a boolean reflecting whether the component is currently pressed and returns view styles.

| Type |
| ------------------------------ |
| [View Style](view-style-props) |
| Type |
| ----------------------------------------------------------------------------------------------- |
| [View Style](view-style-props) or `md ({ pressed: boolean }) => [View Style](view-style-props)` |

### `testOnly_pressed`

Expand Down
6 changes: 3 additions & 3 deletions website/versioned_docs/version-0.70/pressable.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ Additional distance outside of this view in which a touch is considered a press

Either view styles or a function that receives a boolean reflecting whether the component is currently pressed and returns view styles.

| Type |
| ------------------------------ |
| [View Style](view-style-props) |
| Type |
| ----------------------------------------------------------------------------------------------- |
| [View Style](view-style-props) or `md ({ pressed: boolean }) => [View Style](view-style-props)` |
### `testOnly_pressed`
Expand Down
6 changes: 3 additions & 3 deletions website/versioned_docs/version-0.71/pressable.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ Additional distance outside of this view in which a touch is considered a press

Either view styles or a function that receives a boolean reflecting whether the component is currently pressed and returns view styles.

| Type |
| ------------------------------ |
| [View Style](view-style-props) |
| Type |
| ----------------------------------------------------------------------------------------------- |
| [View Style](view-style-props) or `md ({ pressed: boolean }) => [View Style](view-style-props)` |

### `testOnly_pressed`

Expand Down
6 changes: 3 additions & 3 deletions website/versioned_docs/version-0.72/pressable.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ Additional distance outside of this view in which a touch is considered a press

Either view styles or a function that receives a boolean reflecting whether the component is currently pressed and returns view styles.

| Type |
| ------------------------------ |
| [View Style](view-style-props) |
| Type |
| ----------------------------------------------------------------------------------------------- |
| [View Style](view-style-props) or `md ({ pressed: boolean }) => [View Style](view-style-props)` |

### `testOnly_pressed`

Expand Down

0 comments on commit 821172e

Please sign in to comment.