Skip to content

Commit

Permalink
Add link to props reference for TouchableHighlight (#8361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kara Graysen committed Nov 19, 2021
1 parent b8d4b8a commit 8bc7033
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
@@ -1,2 +1,3 @@
- mcansh
- kkirsche
- noisypigeon
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -317,7 +317,7 @@ interface LinkProps extends TouchableHighlightProps {

</details>

A `<Link>` is an element that lets the user navigate to another view by tapping it, similar to how `<a>` elements work in a web app. In `react-router-native`, a `<Link>` renders a `TouchableHighlight`.
A `<Link>` is an element that lets the user navigate to another view by tapping it, similar to how `<a>` elements work in a web app. In `react-router-native`, a `<Link>` renders a `TouchableHighlight`. To override default styling and behaviour, please refer to the [Props reference for `TouchableHighlight`](https://reactnative.dev/docs/touchablehighlight#props).

```tsx
import * as React from "react";
Expand Down

0 comments on commit 8bc7033

Please sign in to comment.