Skip to content

Commit

Permalink
Updated button.md to reference Pressable (facebook#3237)
Browse files Browse the repository at this point in the history
  • Loading branch information
athakur3 authored Sep 21, 2022
1 parent 8754483 commit 12dc712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.69/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Button

A basic button component that should render nicely on any platform. Supports a minimal level of customization.

If this button doesn't look right for your app, you can build your own button using [TouchableOpacity](touchableopacity) or [TouchableWithoutFeedback](touchablewithoutfeedback). For inspiration, look at the [source code for this button component](https://github.com/facebook/react-native/blob/master/Libraries/Components/Button.js). Or, take a look at the [wide variety of button components built by the community](https://js.coach/?menu%5Bcollections%5D=React%20Native&page=1&query=button).
If this button doesn't look right for your app, you can build your own button using [Pressable](pressable). For inspiration, look at the [source code for this button component](https://github.com/facebook/react-native/blob/master/Libraries/Components/Button.js). Or, take a look at the [wide variety of button components built by the community](https://js.coach/?menu%5Bcollections%5D=React%20Native&page=1&query=button).

```jsx
<Button
Expand Down

0 comments on commit 12dc712

Please sign in to comment.