diff --git a/README.md b/README.md index 8d857b9d5a4..ada122e2043 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ As mentioned above, the `docs` folder contains the source files for all of the d ### Versioned docs -The React Native website is versioned as to allow users to go back and see the API reference docs for any given release. A new version of the website is generally generated whenever there is a new React Native release. When this happens, any changes made to the `docs` and `website/sidebars.json` files will be copied over to the corresponding location within `website/versioned_docs` and `website/versioned_sidebars`. +The React Native website is versioned to allow users to go back and see the API reference docs for any given release. A new version of the website is generally generated whenever there is a new React Native release. When this happens, any changes made to the `docs` and `website/sidebars.json` files will be copied over to the corresponding location within `website/versioned_docs` and `website/versioned_sidebars`. > **_Note:_** Do not edit the auto-generated files within `versioned_docs` or `versioned_sidebars` unless you are sure it is necessary. Edits made to older versions will not be propagated to newer versions of the docs. @@ -116,7 +116,7 @@ The `showcase.json` file contains the list of users that are highlighted in the 1. Follow the "[Running locally](#running-locally)" instructions. 1. Save the files and check in the browser. 1. Some changes may require a server restart to generate new files. (Pages in `docs` always do!) -1. Edits to pages in `docs` will only be visible in the latest version of the documentation, called "Next", located under `docs/next` path. +1. Edits to pages in `docs` will only be visible in the latest version of the documentation, called "Next", located under the `docs/next` path. Visit **http://localhost:3000/docs/next/YOUR-DOCS-PAGE** to see your work. @@ -126,7 +126,7 @@ Visit **http://localhost:3000/docs/next/YOUR-DOCS-PAGE** to see your work. If possible, test any visual changes in all latest versions of the following browsers: -- Chrome and Firefox on desktop. +- Chrome and Firefox on the desktop. - Chrome and Safari on mobile. ### Push it diff --git a/docs/actionsheetios.md b/docs/actionsheetios.md index 7f982030807..6896d9204f7 100644 --- a/docs/actionsheetios.md +++ b/docs/actionsheetios.md @@ -73,6 +73,7 @@ Display an iOS action sheet. The `options` object must contain one or more of: - `message` (string) - a message to show below the title - `anchor` (number) - the node to which the action sheet should be anchored (used for iPad) - `tintColor` (string) - the [color](colors) used for non-destructive button titles +- `disabledButtonIndices` (array of numbers) - a list of button indices which should be disabled The 'callback' function takes one parameter, the zero-based index of the selected item. diff --git a/docs/alert.md b/docs/alert.md index 9c4e51e2fa2..0b82e780bde 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -7,9 +7,9 @@ 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. -This is an API that works both on Android and iOS and can show static alerts. To show an alert that prompts the user to enter some information, see `AlertIOS`; entering text in an alert is common on iOS only. +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 avaiable on iOS only. -### Example +## Example