From 33e45879094d043b58d163dabf44e47abf95ae5d Mon Sep 17 00:00:00 2001 From: Simek Date: Tue, 16 Sep 2025 11:08:19 +0200 Subject: [PATCH 1/2] update TV-related props, improve docs formatting --- docs/alert.md | 2 +- docs/button.md | 18 +++++---- docs/debugging.md | 2 +- docs/drawerlayoutandroid.md | 4 +- docs/inputaccessoryview.md | 4 +- docs/interactionmanager.md | 2 +- docs/modal.md | 2 +- docs/pressable.md | 14 +++---- docs/refreshcontrol.md | 2 +- docs/scrollview.md | 6 +-- docs/systrace.md | 2 +- docs/text.md | 4 +- docs/textinput.md | 22 ++++++----- docs/toastandroid.md | 4 +- docs/touchablehighlight.md | 18 +++++---- docs/touchablenativefeedback.md | 38 +++++++------------ docs/touchableopacity.md | 16 ++++---- docs/view.md | 2 +- .../how-to-run-and-write-tests.md | 4 +- 19 files changed, 84 insertions(+), 82 deletions(-) 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..34a9e17e545 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