diff --git a/docs/alert.md b/docs/alert.md index c80b62fb7a6..d3f8f9d055e 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -5,7 +5,7 @@ title: Alert Launches an alert dialog with the specified title and message. -Optionally provide a list of buttons. Tapping any button will fire the respective onPress callback and dismiss the alert. By default, the only button will be an 'OK' button. +Optionally provide a list of buttons. Tapping any button will fire the respective `onPress` callback and dismiss the alert. By default, the only button will be an 'OK' button. This is an API that works both on Android and iOS and can show static alerts. Alert that prompts the user to enter some information is available on iOS only. diff --git a/docs/button.md b/docs/button.md index cfed6819d28..4720f271557 100644 --- a/docs/button.md +++ b/docs/button.md @@ -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 [Pressable](pressable). For inspiration, look at the [source code for the Button component](https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Components/Button.js). +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 the `Button` component](https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Components/Button.js). ```tsx