From 2923018f31f146d5e440ca88b38525d8cacbafe4 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 11:04:38 +0530 Subject: [PATCH 01/10] Minor Fixes for v2 compatibility --- docs/alertios.md | 2 +- docs/asyncstorage.md | 40 +++++++++++++-------------- docs/building-for-tv.md | 4 +-- docs/checkbox.md | 2 +- docs/clipboard.md | 2 +- docs/components-and-apis.md | 4 +-- docs/datepickerandroid.md | 2 +- docs/datepickerios.md | 2 +- docs/getting-started.md | 2 +- docs/imageeditor.md | 2 +- docs/imagepickerios.md | 2 +- docs/intro-react-native-components.md | 4 +-- docs/libraries.md | 2 +- docs/native-components-ios.md | 6 ++-- docs/picker.md | 2 +- docs/pickerios.md | 2 +- docs/pressable.md | 4 +-- docs/progressbarandroid.md | 2 +- docs/progressviewios.md | 2 +- docs/pushnotificationios.md | 2 +- docs/running-on-device.md | 6 ++-- docs/sectionlist.md | 18 ++++++------ docs/segmentedcontrolios.md | 2 +- docs/slider.md | 2 +- docs/statusbarios.md | 2 +- docs/testing-overview.md | 2 +- docs/timepickerandroid.md | 2 +- docs/viewpagerandroid.md | 2 +- docs/virtualizedlist.md | 2 +- 29 files changed, 64 insertions(+), 64 deletions(-) diff --git a/docs/alertios.md b/docs/alertios.md index 3113eacacc9..e338397bbd6 100644 --- a/docs/alertios.md +++ b/docs/alertios.md @@ -1,6 +1,6 @@ --- id: alertios -title: 🚧 AlertIOS +title: '🚧 AlertIOS' --- > **Deprecated.** Use [`Alert`](alert) instead. diff --git a/docs/asyncstorage.md b/docs/asyncstorage.md index 3787b3fe4a7..de22a63c7af 100644 --- a/docs/asyncstorage.md +++ b/docs/asyncstorage.md @@ -1,6 +1,6 @@ --- id: asyncstorage -title: 🚧 AsyncStorage +title: '🚧 AsyncStorage' --- > **Deprecated.** Use [@react-native-community/async-storage](https://github.com/react-native-community/react-native-async-storage) instead. @@ -189,9 +189,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | --------------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called with all keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | --------------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array`) => void | No | Function that will be called with all keys found and any error. | --- @@ -221,10 +221,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>`) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -258,10 +258,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -275,10 +275,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -304,10 +304,10 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/docs/building-for-tv.md b/docs/building-for-tv.md index a2337e7704b..412c00c287e 100644 --- a/docs/building-for-tv.md +++ b/docs/building-for-tv.md @@ -96,11 +96,11 @@ var running_on_android_tv = Platform.isTV; - _TV remote/keyboard input_: A new native class, `RCTTVRemoteHandler`, sets up gesture recognizers for TV remote events. When TV remote events occur, this class fires notifications that are picked up by `RCTTVNavigationEventEmitter` (a subclass of `RCTEventEmitter`), that fires a JS event. This event will be picked up by instances of the `TVEventHandler` JavaScript object. Application code that needs to implement custom handling of TV remote events can create an instance of `TVEventHandler` and listen for these events, as in the following code: - + - _TV remote/keyboard input_: A new native class, `ReactAndroidTVRootViewHelper`, sets up key events handlers for TV remote events. When TV remote events occur, this class fires a JS event. This event will be picked up by instances of the `TVEventHandler` JavaScript object. Application code that needs to implement custom handling of TV remote events can create an instance of `TVEventHandler` and listen for these events, as in the following code: - + ```jsx var TVEventHandler = require('TVEventHandler'); diff --git a/docs/checkbox.md b/docs/checkbox.md index cf04dba0179..7e4472f324e 100644 --- a/docs/checkbox.md +++ b/docs/checkbox.md @@ -1,6 +1,6 @@ --- id: checkbox -title: 🚧 CheckBox +title: '🚧 CheckBox' --- > **Deprecated.** Use [@react-native-community/checkbox](https://github.com/react-native-community/react-native-checkbox) instead. diff --git a/docs/clipboard.md b/docs/clipboard.md index 34b82b937b9..065ea3c9e62 100644 --- a/docs/clipboard.md +++ b/docs/clipboard.md @@ -1,6 +1,6 @@ --- id: clipboard -title: 🚧 Clipboard +title: '🚧 Clipboard' --- > **Deprecated.** Use [@react-native-community/clipboard](https://github.com/react-native-community/clipboard) instead. diff --git a/docs/components-and-apis.md b/docs/components-and-apis.md index db70b2b94a7..7007003a58d 100644 --- a/docs/components-and-apis.md +++ b/docs/components-and-apis.md @@ -115,7 +115,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

BackHandler

+

BackHandler

Detect hardware button presses for back navigation.

@@ -127,7 +127,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

PermissionsAndroid

+

PermissionsAndroid

Provides access to the permissions model introduced in Android M.

diff --git a/docs/datepickerandroid.md b/docs/datepickerandroid.md index 899db97ca7b..0165d750212 100644 --- a/docs/datepickerandroid.md +++ b/docs/datepickerandroid.md @@ -1,6 +1,6 @@ --- id: datepickerandroid -title: 🚧 DatePickerAndroid +title: '🚧 DatePickerAndroid' --- > **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead. diff --git a/docs/datepickerios.md b/docs/datepickerios.md index 6db2339a52d..2de4d039fb3 100644 --- a/docs/datepickerios.md +++ b/docs/datepickerios.md @@ -1,6 +1,6 @@ --- id: datepickerios -title: 🚧 DatePickerIOS +title: '🚧 DatePickerIOS' --- > **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead. diff --git a/docs/getting-started.md b/docs/getting-started.md index 791ebfffb14..4e11c1bea9b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -53,7 +53,7 @@ Congratulations! You've successfully run and modified your first React Native ap
-

Now what?

+

Now what?

Expo also has [docs](https://docs.expo.io) you can reference if you have questions specific to the tool. You can also ask for help at [Expo forums](https://forums.expo.io). diff --git a/docs/imageeditor.md b/docs/imageeditor.md index 8b61d8aa4b7..6133c4cf056 100644 --- a/docs/imageeditor.md +++ b/docs/imageeditor.md @@ -1,6 +1,6 @@ --- id: imageeditor -title: 🚧 ImageEditor +title: '🚧 ImageEditor' --- > **Deprecated.** Use [@react-native-community/image-editor](https://github.com/react-native-community/react-native-image-editor) instead. diff --git a/docs/imagepickerios.md b/docs/imagepickerios.md index 5e4685eff8e..c998b94ea18 100644 --- a/docs/imagepickerios.md +++ b/docs/imagepickerios.md @@ -1,6 +1,6 @@ --- id: imagepickerios -title: 🚧 ImagePickerIOS +title: '🚧 ImagePickerIOS' --- > **Deprecated.** Use [@react-native-community/image-picker-ios](https://github.com/react-native-community/react-native-image-picker-ios) instead. diff --git a/docs/intro-react-native-components.md b/docs/intro-react-native-components.md index c98d97dcd68..a45e52fcb51 100644 --- a/docs/intro-react-native-components.md +++ b/docs/intro-react-native-components.md @@ -11,7 +11,7 @@ React Native is an open source framework for building Android and iOS applicatio In Android and iOS development, a **view** is the basic building block of UI: a small rectangular element on the screen which can be used to display text, images, or respond to user input. Even the smallest visual elements of an app, like a line of text or a button, are kinds of views. Some kinds of views can contain other views. It’s views all the way down!
- Diagram of Android and iOS app showing them both built on top of atomic elements called views. + Diagram of Android and iOS app showing them both built on top of atomic elements called views.
Just a sampling of the many views used in Android and iOS apps.
@@ -73,4 +73,4 @@ export default App; Because React Native uses the same API structure as React components, you’ll need to understand React component APIs to get started. The [next section](intro-react) makes for a quick introduction or refresher on the topic. However, if you’re already familiar with React, feel free to [skip ahead](handling-text-input). -A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. +A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. diff --git a/docs/libraries.md b/docs/libraries.md index 0c937046fae..3221eb0092d 100644 --- a/docs/libraries.md +++ b/docs/libraries.md @@ -2,7 +2,7 @@ id: libraries title: Using Libraries author: Brent Vatne -authorURL: https://twitter.com/notbrent +authorURL: 'https://twitter.com/notbrent' description: This guide introduces React Native developers to finding, installing, and using third-party libraries in their apps. --- diff --git a/docs/native-components-ios.md b/docs/native-components-ios.md index 192b27789f3..470c05edfa6 100644 --- a/docs/native-components-ios.md +++ b/docs/native-components-ios.md @@ -429,9 +429,9 @@ class MyNativeView extends React.Component<> { `callNativeMethod` is our custom iOS method which for example changes the `backgroundColor` which is exposed through `MyNativeView`. This method uses `UIManager.dispatchViewManagerCommand` which needs 3 parameters: -- (nonnull NSNumber \*)reactTagβ€Š -β€Š id of react view. -- commandID:(NSInteger)commandIDβ€Š -β€Š Id of the native method that should be called -- commandArgs:(NSArray \*)commandArgsβ€Š -β€Š Args of the native method that we can pass from JS to native. +- `(nonnull NSNumber \*)reactTag`β€Š -β€Š id of react view. +- `commandID:(NSInteger)commandID`β€Š -β€Š Id of the native method that should be called +- `commandArgs:(NSArray \*)commandArgs`β€Š -β€Š Args of the native method that we can pass from JS to native. `RNCMyNativeViewManager.m` diff --git a/docs/picker.md b/docs/picker.md index 67df9bf4163..ffe72b9a847 100644 --- a/docs/picker.md +++ b/docs/picker.md @@ -1,6 +1,6 @@ --- id: picker -title: 🚧 Picker +title: '🚧 Picker' --- > **Deprecated.** Use [@react-native-community/picker](https://github.com/react-native-community/react-native-picker) instead. diff --git a/docs/pickerios.md b/docs/pickerios.md index 5d603e2b866..a18ad1e1085 100644 --- a/docs/pickerios.md +++ b/docs/pickerios.md @@ -1,6 +1,6 @@ --- id: pickerios -title: 🚧 PickerIOS +title: '🚧 PickerIOS' --- > **Deprecated.** Use [@react-native-community/picker](https://github.com/react-native-community/react-native-picker) instead. diff --git a/docs/pressable.md b/docs/pressable.md index 2e4050e5069..20a44694b14 100644 --- a/docs/pressable.md +++ b/docs/pressable.md @@ -23,7 +23,7 @@ After pressing [`onPressIn`](#onpressin), one of two things will happen: 1. The person will remove their finger, triggering [`onPressOut`](#onpressout) followed by [`onPress`](#onpress). 2. If the person leaves their finger longer than 370 milliseconds before removing it, [`onLongPress`](#onlongpress) is triggered. ([`onPressOut`](#onpressout) will still fire when they remove their finger.) -Diagram of the onPress events in sequence. +Diagram of the onPress events in sequence. Fingers are not the most precise instruments, and it is common for users to accidentally activate the wrong element or miss the activation area. To help, `Pressable` has an optional `HitRect` you can use to define how far a touch can register away from the the wrapped element. Presses can start anywhere within a `HitRect`. @@ -32,7 +32,7 @@ Fingers are not the most precise instruments, and it is common for users to acci > The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.
- Diagram of HitRect and PressRect and how they work. + Diagram of HitRect and PressRect and how they work.
You can set HitRect with hitSlop and set PressRect with pressRetentionOffset.
diff --git a/docs/progressbarandroid.md b/docs/progressbarandroid.md index 3e444b658b5..b1014f92c60 100644 --- a/docs/progressbarandroid.md +++ b/docs/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: progressbarandroid -title: 🚧 ProgressBarAndroid +title: '🚧 ProgressBarAndroid' --- > **Deprecated.** Use [@react-native-community/progress-bar-android](https://github.com/react-native-community/progress-bar-android) instead. diff --git a/docs/progressviewios.md b/docs/progressviewios.md index 20114f3a01b..39274a1b021 100644 --- a/docs/progressviewios.md +++ b/docs/progressviewios.md @@ -1,6 +1,6 @@ --- id: progressviewios -title: 🚧 ProgressViewIOS +title: '🚧 ProgressViewIOS' --- > **Deprecated.** Use [@react-native-community/progress-view](https://github.com/react-native-community/progress-view) instead. diff --git a/docs/pushnotificationios.md b/docs/pushnotificationios.md index 319d52b95ae..7c792f85f3d 100644 --- a/docs/pushnotificationios.md +++ b/docs/pushnotificationios.md @@ -1,6 +1,6 @@ --- id: pushnotificationios -title: 🚧 PushNotificationIOS +title: '🚧 PushNotificationIOS' --- > **Deprecated.** Use [@react-native-community/push-notification-ios](https://github.com/react-native-community/react-native-push-notification-ios) instead. diff --git a/docs/running-on-device.md b/docs/running-on-device.md index a29d3b8b3f8..e4b03ec580f 100644 --- a/docs/running-on-device.md +++ b/docs/running-on-device.md @@ -31,9 +31,9 @@ If you used Expo CLI or Create React Native App to set up your project, you can
Development OS: - + +
diff --git a/docs/sectionlist.md b/docs/sectionlist.md index 9cdc3b0c8d7..e73af82b084 100644 --- a/docs/sectionlist.md +++ b/docs/sectionlist.md @@ -393,9 +393,9 @@ This may improve scroll performance for large lists. Rendered at the bottom of each section. -| Type | Required | -| ---------------------------------------------------- | -------- | -| [(info: {section: SectionT}) => ?React.Element] | No | +| Type | Required | +| ------------------------------------------------------ | -------- | +| `[(info: {section: SectionT}) => ?React.Element]` | No | --- @@ -403,9 +403,9 @@ Rendered at the bottom of each section. Rendered at the top of each section. These stick to the top of the `ScrollView` by default on iOS. See `stickySectionHeadersEnabled`. -| Type | Required | -| ---------------------------------------------------- | -------- | -| [(info: {section: SectionT}) => ?React.Element] | No | +| Type | Required | +| ------------------------------------------------------ | -------- | +| `[(info: {section: SectionT}) => ?React.Element]` | No | --- @@ -413,9 +413,9 @@ Rendered at the top of each section. These stick to the top of the `ScrollView` Rendered at the top and bottom of each section (note this is different from `ItemSeparatorComponent` which is only rendered between items). These are intended to separate sections from the headers above and below and typically have the same highlight response as `ItemSeparatorComponent`. Also receives `highlighted`, `[leading/trailing][Item/Section]`, and any custom props from `separators.updateProps`. -| Type | Required | -| ----------------- | -------- | -| [ReactClass] | No | +| Type | Required | +| ------------------- | -------- | +| `[ReactClass]` | No | --- diff --git a/docs/segmentedcontrolios.md b/docs/segmentedcontrolios.md index 0d9aa116063..8d8597423d5 100644 --- a/docs/segmentedcontrolios.md +++ b/docs/segmentedcontrolios.md @@ -1,6 +1,6 @@ --- id: segmentedcontrolios -title: 🚧 SegmentedControlIOS +title: '🚧 SegmentedControlIOS' --- > **Deprecated.** Use [@react-native-community/segmented-control](https://github.com/react-native-community/segmented-control) instead. diff --git a/docs/slider.md b/docs/slider.md index 80b40435bfe..68336d72812 100644 --- a/docs/slider.md +++ b/docs/slider.md @@ -1,6 +1,6 @@ --- id: slider -title: 🚧 Slider +title: '🚧 Slider' --- > **Deprecated.** Use [@react-native-community/slider](https://github.com/react-native-community/react-native-slider) instead. diff --git a/docs/statusbarios.md b/docs/statusbarios.md index ae1289efaba..c2dd2d7702e 100644 --- a/docs/statusbarios.md +++ b/docs/statusbarios.md @@ -1,6 +1,6 @@ --- id: statusbarios -title: 🚧 StatusBarIOS +title: '🚧 StatusBarIOS' --- > **Deprecated.** Use [`StatusBar`](statusbar.md) for mutating the status bar. diff --git a/docs/testing-overview.md b/docs/testing-overview.md index e21c86243a9..4216c7ff9cd 100644 --- a/docs/testing-overview.md +++ b/docs/testing-overview.md @@ -2,7 +2,7 @@ id: testing-overview title: Testing author: Vojtech Novak -authorURL: https://twitter.com/vonovak +authorURL: 'https://twitter.com/vonovak' description: This guide introduces React Native developers to the key concepts behind testing, how to write good tests, and what kinds of tests you can incorporate into your workflow. --- diff --git a/docs/timepickerandroid.md b/docs/timepickerandroid.md index 57755621227..dd82974a085 100644 --- a/docs/timepickerandroid.md +++ b/docs/timepickerandroid.md @@ -1,6 +1,6 @@ --- id: timepickerandroid -title: 🚧 TimePickerAndroid +title: '🚧 TimePickerAndroid' --- > **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead. diff --git a/docs/viewpagerandroid.md b/docs/viewpagerandroid.md index 489eb1352c7..e838f491d63 100644 --- a/docs/viewpagerandroid.md +++ b/docs/viewpagerandroid.md @@ -1,6 +1,6 @@ --- id: viewpagerandroid -title: 🚧 ViewPagerAndroid +title: '🚧 ViewPagerAndroid' --- > **Deprecated.** Use [@react-native-community/viewpager](https://github.com/react-native-community/react-native-viewpager) instead. diff --git a/docs/virtualizedlist.md b/docs/virtualizedlist.md index ac661358a94..3760e92a476 100644 --- a/docs/virtualizedlist.md +++ b/docs/virtualizedlist.md @@ -346,7 +346,7 @@ Set this true while waiting for new data from a refresh. ### `refreshControl` -A custom refresh control element. When set, it overrides the default component built internally. The onRefresh and refreshing props are also ignored. Only works for vertical VirtualizedList. +A custom refresh control element. When set, it overrides the default `` component built internally. The onRefresh and refreshing props are also ignored. Only works for vertical VirtualizedList. | Type | Required | | ------- | -------- | From 3b621d0dfa3ffde6dc0e0fb4144320ae631a3260 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 11:34:41 +0530 Subject: [PATCH 02/10] HotFix: Update incorrect codeblocks --- docs/asyncstorage.md | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/asyncstorage.md b/docs/asyncstorage.md index de22a63c7af..689a785e0d3 100644 --- a/docs/asyncstorage.md +++ b/docs/asyncstorage.md @@ -66,10 +66,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -83,11 +83,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -101,10 +101,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -120,11 +120,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -173,9 +173,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -191,7 +191,7 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P | Name | Type | Required | Description | | -------- | ------------------------------------------------ | -------- | --------------------------------------------------------------- | -| callback | `?(error: ?Error, keys: ?Array`) => void | No | Function that will be called with all keys found and any error. | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called with all keys found and any error. | --- @@ -224,7 +224,7 @@ The method returns a `Promise` object. | Name | Type | Required | Description | | -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | | keys | `Array` | Yes | Array of key for the items to get. | -| callback | `?(errors: ?Array, result: ?Array>`) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: From 8327aa51a818c74e58231a86404db8bfe2e6b8a6 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 11:35:07 +0530 Subject: [PATCH 03/10] Fix: Title Strings in versioned docs --- website/versioned_docs/version-0.58/cameraroll.md | 2 +- website/versioned_docs/version-0.58/geolocation.md | 2 +- website/versioned_docs/version-0.58/webview.md | 2 +- website/versioned_docs/version-0.59/maskedviewios.md | 2 +- website/versioned_docs/version-0.61/alertios.md | 2 +- website/versioned_docs/version-0.61/checkbox.md | 2 +- website/versioned_docs/version-0.61/clipboard.md | 2 +- website/versioned_docs/version-0.61/datepickerandroid.md | 2 +- website/versioned_docs/version-0.61/datepickerios.md | 2 +- website/versioned_docs/version-0.61/imageeditor.md | 2 +- website/versioned_docs/version-0.61/imagepickerios.md | 2 +- website/versioned_docs/version-0.61/pickerios.md | 2 +- website/versioned_docs/version-0.61/progressbarandroid.md | 2 +- website/versioned_docs/version-0.61/progressviewios.md | 2 +- website/versioned_docs/version-0.61/pushnotificationios.md | 2 +- website/versioned_docs/version-0.61/segmentedcontrolios.md | 2 +- website/versioned_docs/version-0.61/slider.md | 2 +- website/versioned_docs/version-0.61/statusbarios.md | 2 +- website/versioned_docs/version-0.61/timepickerandroid.md | 2 +- website/versioned_docs/version-0.61/viewpagerandroid.md | 2 +- website/versioned_docs/version-0.62/alertios.md | 2 +- website/versioned_docs/version-0.62/checkbox.md | 2 +- website/versioned_docs/version-0.62/clipboard.md | 2 +- website/versioned_docs/version-0.62/datepickerandroid.md | 2 +- website/versioned_docs/version-0.62/datepickerios.md | 2 +- website/versioned_docs/version-0.62/picker.md | 2 +- website/versioned_docs/version-0.62/progressbarandroid.md | 2 +- website/versioned_docs/version-0.62/progressviewios.md | 2 +- website/versioned_docs/version-0.62/pushnotificationios.md | 2 +- website/versioned_docs/version-0.62/slider.md | 2 +- website/versioned_docs/version-0.62/timepickerandroid.md | 2 +- website/versioned_docs/version-0.63/checkbox.md | 2 +- website/versioned_docs/version-0.63/datepickerios.md | 2 +- website/versioned_docs/version-0.63/picker.md | 2 +- website/versioned_docs/version-0.63/progressbarandroid.md | 2 +- website/versioned_docs/version-0.63/progressviewios.md | 2 +- website/versioned_docs/version-0.63/segmentedcontrolios.md | 2 +- 37 files changed, 37 insertions(+), 37 deletions(-) diff --git a/website/versioned_docs/version-0.58/cameraroll.md b/website/versioned_docs/version-0.58/cameraroll.md index 1b27d7979ff..81e37315f98 100644 --- a/website/versioned_docs/version-0.58/cameraroll.md +++ b/website/versioned_docs/version-0.58/cameraroll.md @@ -1,6 +1,6 @@ --- id: version-0.58-cameraroll -title: 🚧 CameraRoll +title: '🚧 CameraRoll' original_id: cameraroll custom_edit_url: https://github.com/facebook/react-native-website/edit/master/website/versioned_docs/version-0.58/cameraroll.md --- diff --git a/website/versioned_docs/version-0.58/geolocation.md b/website/versioned_docs/version-0.58/geolocation.md index 6bbe003d0b3..75190eca188 100644 --- a/website/versioned_docs/version-0.58/geolocation.md +++ b/website/versioned_docs/version-0.58/geolocation.md @@ -1,6 +1,6 @@ --- id: version-0.58-geolocation -title: 🚧 Geolocation +title: '🚧 Geolocation' original_id: geolocation --- diff --git a/website/versioned_docs/version-0.58/webview.md b/website/versioned_docs/version-0.58/webview.md index faf612c92b6..594c6125ae4 100644 --- a/website/versioned_docs/version-0.58/webview.md +++ b/website/versioned_docs/version-0.58/webview.md @@ -1,6 +1,6 @@ --- id: version-0.58-webview -title: 🚧 WebView +title: '🚧 WebView' original_id: webview --- diff --git a/website/versioned_docs/version-0.59/maskedviewios.md b/website/versioned_docs/version-0.59/maskedviewios.md index e03b073d9c8..25538d29cb9 100644 --- a/website/versioned_docs/version-0.59/maskedviewios.md +++ b/website/versioned_docs/version-0.59/maskedviewios.md @@ -1,6 +1,6 @@ --- id: version-0.59-maskedviewios -title: 🚧 MaskedViewIOS +title: '🚧 MaskedViewIOS' original_id: maskedviewios --- diff --git a/website/versioned_docs/version-0.61/alertios.md b/website/versioned_docs/version-0.61/alertios.md index 204545e35a7..f28403874e1 100644 --- a/website/versioned_docs/version-0.61/alertios.md +++ b/website/versioned_docs/version-0.61/alertios.md @@ -1,6 +1,6 @@ --- id: version-0.61-alertios -title: 🚧 AlertIOS +title: '🚧 AlertIOS' original_id: alertios --- diff --git a/website/versioned_docs/version-0.61/checkbox.md b/website/versioned_docs/version-0.61/checkbox.md index a4352fee1ae..abd88c03114 100644 --- a/website/versioned_docs/version-0.61/checkbox.md +++ b/website/versioned_docs/version-0.61/checkbox.md @@ -1,6 +1,6 @@ --- id: version-0.61-checkbox -title: 🚧 CheckBox +title: '🚧 CheckBox' original_id: checkbox --- diff --git a/website/versioned_docs/version-0.61/clipboard.md b/website/versioned_docs/version-0.61/clipboard.md index e88174eb25d..6111497bdb3 100644 --- a/website/versioned_docs/version-0.61/clipboard.md +++ b/website/versioned_docs/version-0.61/clipboard.md @@ -1,6 +1,6 @@ --- id: version-0.61-clipboard -title: 🚧 Clipboard +title: '🚧 Clipboard' original_id: clipboard --- diff --git a/website/versioned_docs/version-0.61/datepickerandroid.md b/website/versioned_docs/version-0.61/datepickerandroid.md index bcff2e70dfb..16729a2bb2e 100644 --- a/website/versioned_docs/version-0.61/datepickerandroid.md +++ b/website/versioned_docs/version-0.61/datepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-datepickerandroid -title: 🚧 DatePickerAndroid +title: '🚧 DatePickerAndroid' original_id: datepickerandroid --- diff --git a/website/versioned_docs/version-0.61/datepickerios.md b/website/versioned_docs/version-0.61/datepickerios.md index 1765b8d7956..3a2e012b3c9 100644 --- a/website/versioned_docs/version-0.61/datepickerios.md +++ b/website/versioned_docs/version-0.61/datepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.61-datepickerios -title: 🚧 DatePickerIOS +title: '🚧 DatePickerIOS' original_id: datepickerios --- diff --git a/website/versioned_docs/version-0.61/imageeditor.md b/website/versioned_docs/version-0.61/imageeditor.md index 2d22809443d..57fc937574c 100644 --- a/website/versioned_docs/version-0.61/imageeditor.md +++ b/website/versioned_docs/version-0.61/imageeditor.md @@ -1,6 +1,6 @@ --- id: version-0.61-imageeditor -title: 🚧 ImageEditor +title: '🚧 ImageEditor' original_id: imageeditor --- diff --git a/website/versioned_docs/version-0.61/imagepickerios.md b/website/versioned_docs/version-0.61/imagepickerios.md index a4bbf8be6b9..b84e571f0c2 100644 --- a/website/versioned_docs/version-0.61/imagepickerios.md +++ b/website/versioned_docs/version-0.61/imagepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.61-imagepickerios -title: 🚧 ImagePickerIOS +title: '🚧 ImagePickerIOS' original_id: imagepickerios --- diff --git a/website/versioned_docs/version-0.61/pickerios.md b/website/versioned_docs/version-0.61/pickerios.md index 081c92dd3bf..958c7ddd724 100644 --- a/website/versioned_docs/version-0.61/pickerios.md +++ b/website/versioned_docs/version-0.61/pickerios.md @@ -1,6 +1,6 @@ --- id: version-0.61-pickerios -title: 🚧 PickerIOS +title: '🚧 PickerIOS' original_id: pickerios --- diff --git a/website/versioned_docs/version-0.61/progressbarandroid.md b/website/versioned_docs/version-0.61/progressbarandroid.md index b6cb2bea7bc..bbb7d3454d8 100644 --- a/website/versioned_docs/version-0.61/progressbarandroid.md +++ b/website/versioned_docs/version-0.61/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-progressbarandroid -title: 🚧 ProgressBarAndroid +title: '🚧 ProgressBarAndroid' original_id: progressbarandroid --- diff --git a/website/versioned_docs/version-0.61/progressviewios.md b/website/versioned_docs/version-0.61/progressviewios.md index dd7498343c1..055a3835b27 100644 --- a/website/versioned_docs/version-0.61/progressviewios.md +++ b/website/versioned_docs/version-0.61/progressviewios.md @@ -1,6 +1,6 @@ --- id: version-0.61-progressviewios -title: 🚧 ProgressViewIOS +title: '🚧 ProgressViewIOS' original_id: progressviewios --- diff --git a/website/versioned_docs/version-0.61/pushnotificationios.md b/website/versioned_docs/version-0.61/pushnotificationios.md index bca4d279e3d..86eb9730cbf 100644 --- a/website/versioned_docs/version-0.61/pushnotificationios.md +++ b/website/versioned_docs/version-0.61/pushnotificationios.md @@ -1,6 +1,6 @@ --- id: version-0.61-pushnotificationios -title: 🚧 PushNotificationIOS +title: '🚧 PushNotificationIOS' original_id: pushnotificationios --- diff --git a/website/versioned_docs/version-0.61/segmentedcontrolios.md b/website/versioned_docs/version-0.61/segmentedcontrolios.md index e53ae833ffb..c865bae3c6a 100644 --- a/website/versioned_docs/version-0.61/segmentedcontrolios.md +++ b/website/versioned_docs/version-0.61/segmentedcontrolios.md @@ -1,6 +1,6 @@ --- id: version-0.61-segmentedcontrolios -title: 🚧 SegmentedControlIOS +title: '🚧 SegmentedControlIOS' original_id: segmentedcontrolios --- diff --git a/website/versioned_docs/version-0.61/slider.md b/website/versioned_docs/version-0.61/slider.md index 1ea2feffc61..582f2ebdc94 100644 --- a/website/versioned_docs/version-0.61/slider.md +++ b/website/versioned_docs/version-0.61/slider.md @@ -1,6 +1,6 @@ --- id: version-0.61-slider -title: 🚧 Slider +title: '🚧 Slider' original_id: slider --- diff --git a/website/versioned_docs/version-0.61/statusbarios.md b/website/versioned_docs/version-0.61/statusbarios.md index 9c65ae6be94..f7dc8f23d81 100644 --- a/website/versioned_docs/version-0.61/statusbarios.md +++ b/website/versioned_docs/version-0.61/statusbarios.md @@ -1,6 +1,6 @@ --- id: version-0.61-statusbarios -title: 🚧 StatusBarIOS +title: '🚧 StatusBarIOS' original_id: statusbarios --- diff --git a/website/versioned_docs/version-0.61/timepickerandroid.md b/website/versioned_docs/version-0.61/timepickerandroid.md index 313b413404e..74b20a8cdd4 100644 --- a/website/versioned_docs/version-0.61/timepickerandroid.md +++ b/website/versioned_docs/version-0.61/timepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-timepickerandroid -title: 🚧 TimePickerAndroid +title: '🚧 TimePickerAndroid' original_id: timepickerandroid --- diff --git a/website/versioned_docs/version-0.61/viewpagerandroid.md b/website/versioned_docs/version-0.61/viewpagerandroid.md index c9be2536bd1..cd34a58b2b2 100644 --- a/website/versioned_docs/version-0.61/viewpagerandroid.md +++ b/website/versioned_docs/version-0.61/viewpagerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-viewpagerandroid -title: 🚧 ViewPagerAndroid +title: '🚧 ViewPagerAndroid' original_id: viewpagerandroid --- diff --git a/website/versioned_docs/version-0.62/alertios.md b/website/versioned_docs/version-0.62/alertios.md index 3caa6ad192a..6782fefd233 100644 --- a/website/versioned_docs/version-0.62/alertios.md +++ b/website/versioned_docs/version-0.62/alertios.md @@ -1,6 +1,6 @@ --- id: version-0.62-alertios -title: 🚧 AlertIOS +title: '🚧 AlertIOS' original_id: alertios --- diff --git a/website/versioned_docs/version-0.62/checkbox.md b/website/versioned_docs/version-0.62/checkbox.md index d751e78acfc..e83bca2077a 100644 --- a/website/versioned_docs/version-0.62/checkbox.md +++ b/website/versioned_docs/version-0.62/checkbox.md @@ -1,6 +1,6 @@ --- id: version-0.62-checkbox -title: 🚧 CheckBox +title: '🚧 CheckBox' original_id: checkbox --- diff --git a/website/versioned_docs/version-0.62/clipboard.md b/website/versioned_docs/version-0.62/clipboard.md index bf0f0a98041..0d32a08ca22 100644 --- a/website/versioned_docs/version-0.62/clipboard.md +++ b/website/versioned_docs/version-0.62/clipboard.md @@ -1,6 +1,6 @@ --- id: version-0.62-clipboard -title: 🚧 Clipboard +title: '🚧 Clipboard' original_id: clipboard --- diff --git a/website/versioned_docs/version-0.62/datepickerandroid.md b/website/versioned_docs/version-0.62/datepickerandroid.md index dffc27c5a80..d26273f3090 100644 --- a/website/versioned_docs/version-0.62/datepickerandroid.md +++ b/website/versioned_docs/version-0.62/datepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.62-datepickerandroid -title: 🚧 DatePickerAndroid +title: '🚧 DatePickerAndroid' original_id: datepickerandroid --- diff --git a/website/versioned_docs/version-0.62/datepickerios.md b/website/versioned_docs/version-0.62/datepickerios.md index 4461914fcf3..e6c9a739406 100644 --- a/website/versioned_docs/version-0.62/datepickerios.md +++ b/website/versioned_docs/version-0.62/datepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.62-datepickerios -title: 🚧 DatePickerIOS +title: '🚧 DatePickerIOS' original_id: datepickerios --- diff --git a/website/versioned_docs/version-0.62/picker.md b/website/versioned_docs/version-0.62/picker.md index 5e4502fa4ad..fe5cadab0e3 100644 --- a/website/versioned_docs/version-0.62/picker.md +++ b/website/versioned_docs/version-0.62/picker.md @@ -1,6 +1,6 @@ --- id: version-0.62-picker -title: 🚧 Picker +title: '🚧 Picker' original_id: picker --- diff --git a/website/versioned_docs/version-0.62/progressbarandroid.md b/website/versioned_docs/version-0.62/progressbarandroid.md index 20a68d8126c..7699d185648 100644 --- a/website/versioned_docs/version-0.62/progressbarandroid.md +++ b/website/versioned_docs/version-0.62/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: version-0.62-progressbarandroid -title: 🚧 ProgressBarAndroid +title: '🚧 ProgressBarAndroid' original_id: progressbarandroid --- diff --git a/website/versioned_docs/version-0.62/progressviewios.md b/website/versioned_docs/version-0.62/progressviewios.md index 26d875a71a0..456f7390710 100644 --- a/website/versioned_docs/version-0.62/progressviewios.md +++ b/website/versioned_docs/version-0.62/progressviewios.md @@ -1,6 +1,6 @@ --- id: version-0.62-progressviewios -title: 🚧 ProgressViewIOS +title: '🚧 ProgressViewIOS' original_id: progressviewios --- diff --git a/website/versioned_docs/version-0.62/pushnotificationios.md b/website/versioned_docs/version-0.62/pushnotificationios.md index e7daae1e074..0dde21b90ca 100644 --- a/website/versioned_docs/version-0.62/pushnotificationios.md +++ b/website/versioned_docs/version-0.62/pushnotificationios.md @@ -1,6 +1,6 @@ --- id: version-0.62-pushnotificationios -title: 🚧 PushNotificationIOS +title: '🚧 PushNotificationIOS' original_id: pushnotificationios --- diff --git a/website/versioned_docs/version-0.62/slider.md b/website/versioned_docs/version-0.62/slider.md index 251f0f7fbff..21d59420b26 100644 --- a/website/versioned_docs/version-0.62/slider.md +++ b/website/versioned_docs/version-0.62/slider.md @@ -1,6 +1,6 @@ --- id: version-0.62-slider -title: 🚧 Slider +title: '🚧 Slider' original_id: slider --- diff --git a/website/versioned_docs/version-0.62/timepickerandroid.md b/website/versioned_docs/version-0.62/timepickerandroid.md index e7ea6024f50..2ce921eb5c4 100644 --- a/website/versioned_docs/version-0.62/timepickerandroid.md +++ b/website/versioned_docs/version-0.62/timepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.62-timepickerandroid -title: 🚧 TimePickerAndroid +title: '🚧 TimePickerAndroid' original_id: timepickerandroid --- diff --git a/website/versioned_docs/version-0.63/checkbox.md b/website/versioned_docs/version-0.63/checkbox.md index 91aff8366b8..e319247d9ef 100644 --- a/website/versioned_docs/version-0.63/checkbox.md +++ b/website/versioned_docs/version-0.63/checkbox.md @@ -1,6 +1,6 @@ --- id: version-0.63-checkbox -title: 🚧 CheckBox +title: '🚧 CheckBox' original_id: checkbox --- diff --git a/website/versioned_docs/version-0.63/datepickerios.md b/website/versioned_docs/version-0.63/datepickerios.md index 5ff280daadc..049e9af9654 100644 --- a/website/versioned_docs/version-0.63/datepickerios.md +++ b/website/versioned_docs/version-0.63/datepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.63-datepickerios -title: 🚧 DatePickerIOS +title: '🚧 DatePickerIOS' original_id: datepickerios --- diff --git a/website/versioned_docs/version-0.63/picker.md b/website/versioned_docs/version-0.63/picker.md index fc0583d327f..e7cbe158809 100644 --- a/website/versioned_docs/version-0.63/picker.md +++ b/website/versioned_docs/version-0.63/picker.md @@ -1,6 +1,6 @@ --- id: version-0.63-picker -title: 🚧 Picker +title: '🚧 Picker' original_id: picker --- diff --git a/website/versioned_docs/version-0.63/progressbarandroid.md b/website/versioned_docs/version-0.63/progressbarandroid.md index 334e5edff5e..a59436f51b7 100644 --- a/website/versioned_docs/version-0.63/progressbarandroid.md +++ b/website/versioned_docs/version-0.63/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: version-0.63-progressbarandroid -title: 🚧 ProgressBarAndroid +title: '🚧 ProgressBarAndroid' original_id: progressbarandroid --- diff --git a/website/versioned_docs/version-0.63/progressviewios.md b/website/versioned_docs/version-0.63/progressviewios.md index 23766e050b5..c24328615c0 100644 --- a/website/versioned_docs/version-0.63/progressviewios.md +++ b/website/versioned_docs/version-0.63/progressviewios.md @@ -1,6 +1,6 @@ --- id: version-0.63-progressviewios -title: 🚧 ProgressViewIOS +title: '🚧 ProgressViewIOS' original_id: progressviewios --- diff --git a/website/versioned_docs/version-0.63/segmentedcontrolios.md b/website/versioned_docs/version-0.63/segmentedcontrolios.md index bd24d3e5384..a3d48cd3e65 100644 --- a/website/versioned_docs/version-0.63/segmentedcontrolios.md +++ b/website/versioned_docs/version-0.63/segmentedcontrolios.md @@ -1,6 +1,6 @@ --- id: version-0.63-segmentedcontrolios -title: 🚧 SegmentedControlIOS +title: '🚧 SegmentedControlIOS' original_id: segmentedcontrolios --- From 3721c03b060fb80d86a2bb60ece6d7eef0bd3eb3 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 11:55:36 +0530 Subject: [PATCH 04/10] Fix JSX errors in versioned asyncstorage docs --- .../version-0.29/asyncstorage.md | 74 ++++++++---------- .../version-0.31/asyncstorage.md | 74 ++++++++---------- .../version-0.5/asyncstorage.md | 32 ++++---- .../version-0.56/asyncstorage.md | 74 ++++++++---------- .../version-0.58/asyncstorage.md | 74 ++++++++---------- .../version-0.59/asyncstorage.md | 74 ++++++++---------- .../version-0.60/asyncstorage.md | 74 ++++++++---------- .../version-0.61/asyncstorage.md | 77 +++++++++---------- 8 files changed, 257 insertions(+), 296 deletions(-) diff --git a/website/versioned_docs/version-0.29/asyncstorage.md b/website/versioned_docs/version-0.29/asyncstorage.md index 1432f6a38be..dfd7445ce5a 100644 --- a/website/versioned_docs/version-0.29/asyncstorage.md +++ b/website/versioned_docs/version-0.29/asyncstorage.md @@ -66,10 +66,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -83,11 +83,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -101,10 +101,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -120,11 +120,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -173,9 +173,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -189,9 +189,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | ---------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called the keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | ---------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called the keys found and any error. | --- @@ -221,10 +221,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -258,10 +258,7 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -275,10 +272,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -304,10 +301,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.31/asyncstorage.md b/website/versioned_docs/version-0.31/asyncstorage.md index d4b6b7716f4..d429e7c239e 100644 --- a/website/versioned_docs/version-0.31/asyncstorage.md +++ b/website/versioned_docs/version-0.31/asyncstorage.md @@ -66,10 +66,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -83,11 +83,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -101,10 +101,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -120,11 +120,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -173,9 +173,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -189,9 +189,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | ---------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called the keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | ---------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called the keys found and any error. | --- @@ -221,10 +221,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -258,10 +258,7 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -275,10 +272,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -304,10 +301,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.5/asyncstorage.md b/website/versioned_docs/version-0.5/asyncstorage.md index eb3ef0989f0..21705dde7b5 100644 --- a/website/versioned_docs/version-0.5/asyncstorage.md +++ b/website/versioned_docs/version-0.5/asyncstorage.md @@ -310,10 +310,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | (errors, result) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `(errors, result) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | --- @@ -333,10 +333,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | (errors) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | (errors) => void | No | Function that will be called with an array of any key-specific errors found. | --- @@ -350,10 +350,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | (errors) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ------------------ | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `(errors) => void` | No | Function that will be called an array of any key-specific errors found. | --- @@ -369,7 +369,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | (errors) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `(errors) => void` | No | Function that will be called with an array of any key-specific errors found. | diff --git a/website/versioned_docs/version-0.56/asyncstorage.md b/website/versioned_docs/version-0.56/asyncstorage.md index 8f0300f25ed..f40f0cc8a7f 100644 --- a/website/versioned_docs/version-0.56/asyncstorage.md +++ b/website/versioned_docs/version-0.56/asyncstorage.md @@ -76,10 +76,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -93,11 +93,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -111,10 +111,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -130,11 +130,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -183,9 +183,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -199,9 +199,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | ---------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called the keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | ---------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called the keys found and any error. | --- @@ -231,10 +231,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -268,10 +268,7 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -285,10 +282,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -314,10 +311,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.58/asyncstorage.md b/website/versioned_docs/version-0.58/asyncstorage.md index 00fd52a5ec9..40aa5948956 100644 --- a/website/versioned_docs/version-0.58/asyncstorage.md +++ b/website/versioned_docs/version-0.58/asyncstorage.md @@ -79,10 +79,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -96,11 +96,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -114,10 +114,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -133,11 +133,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -186,9 +186,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -202,9 +202,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | --------------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called with all keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | --------------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called with all keys found and any error. | --- @@ -234,10 +234,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -271,10 +271,7 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -288,10 +285,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -317,10 +314,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.59/asyncstorage.md b/website/versioned_docs/version-0.59/asyncstorage.md index 9a4942187d2..f6c545e173c 100644 --- a/website/versioned_docs/version-0.59/asyncstorage.md +++ b/website/versioned_docs/version-0.59/asyncstorage.md @@ -81,10 +81,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -98,11 +98,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -116,10 +116,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -135,11 +135,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -188,9 +188,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -204,9 +204,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | --------------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called with all keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | --------------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called with all keys found and any error. | --- @@ -236,10 +236,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -273,10 +273,7 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -290,10 +287,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -319,10 +316,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.60/asyncstorage.md b/website/versioned_docs/version-0.60/asyncstorage.md index 028b4229bd2..4df49d0eb44 100644 --- a/website/versioned_docs/version-0.60/asyncstorage.md +++ b/website/versioned_docs/version-0.60/asyncstorage.md @@ -67,10 +67,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -84,11 +84,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -102,10 +102,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -121,11 +121,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -174,9 +174,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -190,9 +190,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | --------------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called with all keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | --------------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called with all keys found and any error. | --- @@ -222,10 +222,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -259,10 +259,7 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -276,10 +273,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -305,10 +302,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.61/asyncstorage.md b/website/versioned_docs/version-0.61/asyncstorage.md index 07cb2606f0d..d5664d0bd93 100644 --- a/website/versioned_docs/version-0.61/asyncstorage.md +++ b/website/versioned_docs/version-0.61/asyncstorage.md @@ -67,10 +67,10 @@ Fetches an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ----------------------------------------- | -------- | ----------------------------------------------------------------- | -| key | string | Yes | Key of the item to fetch. | -| callback | ?(error: ?Error, result: ?string) => void | No | Function that will be called with a result if found or any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------- | -------- | ----------------------------------------------------------------- | +| key | string | Yes | Key of the item to fetch. | +| callback | `?(error: ?Error, result: ?string) => void` | No | Function that will be called with a result if found or any error. | --- @@ -84,11 +84,11 @@ Sets the value for a `key` and invokes a callback upon completion. Returns a `Pr **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to set. | -| value | string | Yes | Value to set for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to set. | +| value | string | Yes | Value to set for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -102,10 +102,10 @@ Removes an item for a `key` and invokes a callback upon completion. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to remove. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to remove. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -121,11 +121,11 @@ Merges an existing `key` value with an input value, assuming both values are str **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| key | string | Yes | Key of the item to modify. | -| value | string | Yes | New value to merge for the `key`. | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| key | string | Yes | Key of the item to modify. | +| value | string | Yes | New value to merge for the `key`. | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | Example: @@ -174,9 +174,9 @@ Erases _all_ `AsyncStorage` for all clients, libraries, etc. You probably don't **Parameters:** -| Name | Type | Required | Description | -| -------- | ------------------------ | -------- | -------------------------------------------- | -| callback | ?(error: ?Error) => void | No | Function that will be called with any error. | +| Name | Type | Required | Description | +| -------- | -------------------------- | -------- | -------------------------------------------- | +| callback | `?(error: ?Error) => void` | No | Function that will be called with any error. | --- @@ -190,9 +190,9 @@ Gets _all_ keys known to your app; for all callers, libraries, etc. Returns a `P **Parameters:** -| Name | Type | Required | Description | -| -------- | ---------------------------------------------- | -------- | --------------------------------------------------------------- | -| callback | ?(error: ?Error, keys: ?Array) => void | No | Function that will be called with all keys found and any error. | +| Name | Type | Required | Description | +| -------- | ------------------------------------------------ | -------- | --------------------------------------------------------------- | +| callback | `?(error: ?Error, keys: ?Array) => void` | No | Function that will be called with all keys found and any error. | --- @@ -222,10 +222,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| -------- | --------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to get. | -| callback | ?(errors: ?Array, result: ?Array>) => void | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ----------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to get. | +| callback | `?(errors: ?Array, result: ?Array>) => void` | No | Function that will be called with a key-value array of the results, plus an array of any key-specific errors found. | Example: @@ -259,10 +259,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to set. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -276,10 +276,10 @@ Call this to batch the deletion of all keys in the `keys` array. Returns a `Prom **Parameters:** -| Name | Type | Required | Description | -| -------- | -------------------------------- | -------- | ----------------------------------------------------------------------- | -| keys | Array | Yes | Array of key for the items to delete. | -| callback | ?(errors: ?Array) => void | No | Function that will be called an array of any key-specific errors found. | +| Name | Type | Required | Description | +| -------- | ---------------------------------- | -------- | ----------------------------------------------------------------------- | +| keys | `Array` | Yes | Array of key for the items to delete. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called an array of any key-specific errors found. | Example: @@ -305,10 +305,7 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | -| ------------- | -------------------------------- | -------- | ---------------------------------------------------------------------------- | -| keyValuePairs | Array> | Yes | Array of key-value array for the items to merge. | -| callback | ?(errors: ?Array) => void | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: From 0ad3a922cb6aab2bf688bf499eb1e7dd56378c18 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 12:04:15 +0530 Subject: [PATCH 05/10] Fix JSX outside codeblocks in versioned_docs --- website/versioned_docs/version-0.5/native-components-ios.md | 6 +++--- website/versioned_docs/version-0.60/virtualizedlist.md | 2 +- .../versioned_docs/version-0.62/native-components-ios.md | 6 +++--- website/versioned_docs/version-0.62/virtualizedlist.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/website/versioned_docs/version-0.5/native-components-ios.md b/website/versioned_docs/version-0.5/native-components-ios.md index b8ad817c5f8..4561f4a39d5 100644 --- a/website/versioned_docs/version-0.5/native-components-ios.md +++ b/website/versioned_docs/version-0.5/native-components-ios.md @@ -430,9 +430,9 @@ class MyNativeView extends React.Component<> { `callNativeMethod` is our custom iOS method which for example changes the `backgroundColor` which is exposed through `MyNativeView`. This method uses `UIManager.dispatchViewManagerCommand` which needs 3 parameters: -- (nonnull NSNumber \*)reactTagβ€Š -β€Š id of react view. -- commandID:(NSInteger)commandIDβ€Š -β€Š Id of the native method that should be called -- commandArgs:(NSArray \*)commandArgsβ€Š -β€Š Args of the native method that we can pass from JS to native. +- `(nonnull NSNumber \*)reactTag`β€Š -β€Š id of react view. +- `commandID:(NSInteger)commandID`β€Š -β€Š Id of the native method that should be called +- `commandArgs:(NSArray \*)commandArgs`β€Š -β€Š Args of the native method that we can pass from JS to native. `RNCMyNativeViewManager.m` diff --git a/website/versioned_docs/version-0.60/virtualizedlist.md b/website/versioned_docs/version-0.60/virtualizedlist.md index 4ab654ed44d..7608abb63ec 100644 --- a/website/versioned_docs/version-0.60/virtualizedlist.md +++ b/website/versioned_docs/version-0.60/virtualizedlist.md @@ -279,7 +279,7 @@ Set this true while waiting for new data from a refresh. ### `refreshControl` -A custom refresh control element. When set, it overrides the default component built internally. The onRefresh and refreshing props are also ignored. Only works for vertical VirtualizedList. +A custom refresh control element. When set, it overrides the default `` component built internally. The onRefresh and refreshing props are also ignored. Only works for vertical VirtualizedList. | Type | Required | | ------- | -------- | diff --git a/website/versioned_docs/version-0.62/native-components-ios.md b/website/versioned_docs/version-0.62/native-components-ios.md index 699c44520cf..afcf32ba611 100644 --- a/website/versioned_docs/version-0.62/native-components-ios.md +++ b/website/versioned_docs/version-0.62/native-components-ios.md @@ -430,9 +430,9 @@ class MyNativeView extends React.Component<> { `callNativeMethod` is our custom iOS method which for example changes the `backgroundColor` which is exposed through `MyNativeView`. This method uses `UIManager.dispatchViewManagerCommand` which needs 3 parameters: -- (nonnull NSNumber \*)reactTagβ€Š -β€Š id of react view. -- commandID:(NSInteger)commandIDβ€Š -β€Š Id of the native method that should be called -- commandArgs:(NSArray \*)commandArgsβ€Š -β€Š Args of the native method that we can pass from JS to native. +- `(nonnull NSNumber \*)reactTag`β€Š -β€Š id of react view. +- `commandID:(NSInteger)commandID`β€Š -β€Š Id of the native method that should be called +- `commandArgs:(NSArray \*)commandArgs`β€Š -β€Š Args of the native method that we can pass from JS to native. `RNCMyNativeViewManager.m` diff --git a/website/versioned_docs/version-0.62/virtualizedlist.md b/website/versioned_docs/version-0.62/virtualizedlist.md index 534fe7b55ad..6d166dac032 100644 --- a/website/versioned_docs/version-0.62/virtualizedlist.md +++ b/website/versioned_docs/version-0.62/virtualizedlist.md @@ -347,7 +347,7 @@ Set this true while waiting for new data from a refresh. ### `refreshControl` -A custom refresh control element. When set, it overrides the default component built internally. The onRefresh and refreshing props are also ignored. Only works for vertical VirtualizedList. +A custom refresh control element. When set, it overrides the default `` component built internally. The onRefresh and refreshing props are also ignored. Only works for vertical VirtualizedList. | Type | Required | | ------- | -------- | From c405c1825a1e03ae5cea8846ca8430d0c3f55470 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 12:05:32 +0530 Subject: [PATCH 06/10] Fix html tags in versioned_docs --- website/versioned_docs/version-0.5/building-for-tv.md | 4 ++-- website/versioned_docs/version-0.5/components-and-apis.md | 4 ++-- website/versioned_docs/version-0.5/getting-started.md | 2 +- .../version-0.5/intro-react-native-components.md | 4 ++-- website/versioned_docs/version-0.5/running-on-device.md | 6 +++--- website/versioned_docs/version-0.60/getting-started.md | 2 +- website/versioned_docs/version-0.61/getting-started.md | 2 +- website/versioned_docs/version-0.62/building-for-tv.md | 4 ++-- website/versioned_docs/version-0.62/components-and-apis.md | 4 ++-- website/versioned_docs/version-0.62/getting-started.md | 2 +- .../version-0.62/intro-react-native-components.md | 4 ++-- website/versioned_docs/version-0.62/running-on-device.md | 6 +++--- website/versioned_docs/version-0.63/components-and-apis.md | 4 ++-- website/versioned_docs/version-0.63/getting-started.md | 2 +- .../version-0.63/intro-react-native-components.md | 4 ++-- website/versioned_docs/version-0.63/pressable.md | 2 +- 16 files changed, 28 insertions(+), 28 deletions(-) diff --git a/website/versioned_docs/version-0.5/building-for-tv.md b/website/versioned_docs/version-0.5/building-for-tv.md index b675012b4b9..589241f3775 100644 --- a/website/versioned_docs/version-0.5/building-for-tv.md +++ b/website/versioned_docs/version-0.5/building-for-tv.md @@ -95,11 +95,11 @@ var running_on_android_tv = Platform.isTV; - _TV remote/keyboard input_: A new native class, `RCTTVRemoteHandler`, sets up gesture recognizers for TV remote events. When TV remote events occur, this class fires notifications that are picked up by `RCTTVNavigationEventEmitter` (a subclass of `RCTEventEmitter`), that fires a JS event. This event will be picked up by instances of the `TVEventHandler` JavaScript object. Application code that needs to implement custom handling of TV remote events can create an instance of `TVEventHandler` and listen for these events, as in the following code: - + - _TV remote/keyboard input_: A new native class, `ReactAndroidTVRootViewHelper`, sets up key events handlers for TV remote events. When TV remote events occur, this class fires a JS event. This event will be picked up by instances of the `TVEventHandler` JavaScript object. Application code that needs to implement custom handling of TV remote events can create an instance of `TVEventHandler` and listen for these events, as in the following code: - + ```jsx var TVEventHandler = require('TVEventHandler'); diff --git a/website/versioned_docs/version-0.5/components-and-apis.md b/website/versioned_docs/version-0.5/components-and-apis.md index c72146cd0fb..32ecf6192a2 100644 --- a/website/versioned_docs/version-0.5/components-and-apis.md +++ b/website/versioned_docs/version-0.5/components-and-apis.md @@ -164,7 +164,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

BackHandler

+

BackHandler

Detect hardware button presses for back navigation.

@@ -182,7 +182,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

PermissionsAndroid

+

PermissionsAndroid

Provides access to the permissions model introduced in Android M.

diff --git a/website/versioned_docs/version-0.5/getting-started.md b/website/versioned_docs/version-0.5/getting-started.md index 39703b4d4d9..2d53fe3f6e2 100644 --- a/website/versioned_docs/version-0.5/getting-started.md +++ b/website/versioned_docs/version-0.5/getting-started.md @@ -54,7 +54,7 @@ Congratulations! You've successfully run and modified your first React Native ap
-

Now what?

+

Now what?

Expo also has [docs](https://docs.expo.io) you can reference if you have questions specific to the tool. You can also ask for help at [Expo forums](https://forums.expo.io). diff --git a/website/versioned_docs/version-0.5/intro-react-native-components.md b/website/versioned_docs/version-0.5/intro-react-native-components.md index 0594853782f..e086fb6a1c7 100644 --- a/website/versioned_docs/version-0.5/intro-react-native-components.md +++ b/website/versioned_docs/version-0.5/intro-react-native-components.md @@ -12,7 +12,7 @@ React Native is an open source framework for building Android and iOS applicatio In Android and iOS development, a **view** is the basic building block of UI: a small rectangular element on the screen which can be used to display text, images, or respond to user input. Even the smallest visual elements of an app, like a line of text or a button, are kinds of views. Some kinds of views can contain other views. It’s views all the way down!
- Diagram of Android and iOS app showing them both built on top of atomic elements called views. + Diagram of Android and iOS app showing them both built on top of atomic elements called views.
Just a sampling of the many views used in Android and iOS apps.
@@ -72,4 +72,4 @@ export default function App() { Because React Native uses the same API structure as React components, you’ll need to understand React component APIs to get started. The [next section](intro-react) makes for a quick introduction or refresher on the topic. However, if you’re already familiar with React, feel free to [skip ahead](handling-text-input). -A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. +A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. diff --git a/website/versioned_docs/version-0.5/running-on-device.md b/website/versioned_docs/version-0.5/running-on-device.md index 5dcd02187aa..f43b3874255 100644 --- a/website/versioned_docs/version-0.5/running-on-device.md +++ b/website/versioned_docs/version-0.5/running-on-device.md @@ -32,9 +32,9 @@ If you used Expo CLI or Create React Native App to set up your project, you can
Development OS: - + +
diff --git a/website/versioned_docs/version-0.60/getting-started.md b/website/versioned_docs/version-0.60/getting-started.md index b13c6da59cb..eae3e8bee29 100644 --- a/website/versioned_docs/version-0.60/getting-started.md +++ b/website/versioned_docs/version-0.60/getting-started.md @@ -54,7 +54,7 @@ Congratulations! You've successfully run and modified your first React Native ap
-

Now what?

+

Now what?

Expo also has [docs](https://docs.expo.io) you can reference if you have questions specific to the tool. You can also ask for help at [Expo forums](https://forums.expo.io). diff --git a/website/versioned_docs/version-0.61/getting-started.md b/website/versioned_docs/version-0.61/getting-started.md index 5f0cb7e6de4..661e44feb7a 100644 --- a/website/versioned_docs/version-0.61/getting-started.md +++ b/website/versioned_docs/version-0.61/getting-started.md @@ -54,7 +54,7 @@ Congratulations! You've successfully run and modified your first React Native ap
-

Now what?

+

Now what?

Expo also has [docs](https://docs.expo.io) you can reference if you have questions specific to the tool. You can also ask for help at [Expo forums](https://forums.expo.io). diff --git a/website/versioned_docs/version-0.62/building-for-tv.md b/website/versioned_docs/version-0.62/building-for-tv.md index 3d64876eb7b..374abb19f0e 100644 --- a/website/versioned_docs/version-0.62/building-for-tv.md +++ b/website/versioned_docs/version-0.62/building-for-tv.md @@ -97,11 +97,11 @@ var running_on_android_tv = Platform.isTV; - _TV remote/keyboard input_: A new native class, `RCTTVRemoteHandler`, sets up gesture recognizers for TV remote events. When TV remote events occur, this class fires notifications that are picked up by `RCTTVNavigationEventEmitter` (a subclass of `RCTEventEmitter`), that fires a JS event. This event will be picked up by instances of the `TVEventHandler` JavaScript object. Application code that needs to implement custom handling of TV remote events can create an instance of `TVEventHandler` and listen for these events, as in the following code: - + - _TV remote/keyboard input_: A new native class, `ReactAndroidTVRootViewHelper`, sets up key events handlers for TV remote events. When TV remote events occur, this class fires a JS event. This event will be picked up by instances of the `TVEventHandler` JavaScript object. Application code that needs to implement custom handling of TV remote events can create an instance of `TVEventHandler` and listen for these events, as in the following code: - + ```jsx var TVEventHandler = require('TVEventHandler'); diff --git a/website/versioned_docs/version-0.62/components-and-apis.md b/website/versioned_docs/version-0.62/components-and-apis.md index 5d2f4246055..4f936507a94 100644 --- a/website/versioned_docs/version-0.62/components-and-apis.md +++ b/website/versioned_docs/version-0.62/components-and-apis.md @@ -122,7 +122,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

BackHandler

+

BackHandler

Detect hardware button presses for back navigation.

@@ -134,7 +134,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

PermissionsAndroid

+

PermissionsAndroid

Provides access to the permissions model introduced in Android M.

diff --git a/website/versioned_docs/version-0.62/getting-started.md b/website/versioned_docs/version-0.62/getting-started.md index febb724dc18..5a471b39559 100644 --- a/website/versioned_docs/version-0.62/getting-started.md +++ b/website/versioned_docs/version-0.62/getting-started.md @@ -54,7 +54,7 @@ Congratulations! You've successfully run and modified your first React Native ap
-

Now what?

+

Now what?

Expo also has [docs](https://docs.expo.io) you can reference if you have questions specific to the tool. You can also ask for help at [Expo forums](https://forums.expo.io). diff --git a/website/versioned_docs/version-0.62/intro-react-native-components.md b/website/versioned_docs/version-0.62/intro-react-native-components.md index 4e1fdad237c..fa5276487ca 100644 --- a/website/versioned_docs/version-0.62/intro-react-native-components.md +++ b/website/versioned_docs/version-0.62/intro-react-native-components.md @@ -12,7 +12,7 @@ React Native is an open source framework for building Android and iOS applicatio In Android and iOS development, a **view** is the basic building block of UI: a small rectangular element on the screen which can be used to display text, images, or respond to user input. Even the smallest visual elements of an app, like a line of text or a button, are kinds of views. Some kinds of views can contain other views. It’s views all the way down!
- Diagram of Android and iOS app showing them both built on top of atomic elements called views. + Diagram of Android and iOS app showing them both built on top of atomic elements called views.
Just a sampling of the many views used in Android and iOS apps.
@@ -67,4 +67,4 @@ export default function App() { Because React Native uses the same API structure as React components, you’ll need to understand React component APIs to get started. The [next section](intro-react) makes for a quick introduction or refresher on the topic. However, if you’re already familiar with React, feel free to [skip ahead](handling-text-input). -A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. +A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. diff --git a/website/versioned_docs/version-0.62/running-on-device.md b/website/versioned_docs/version-0.62/running-on-device.md index bdd1b91f9e0..5766a4e6c78 100644 --- a/website/versioned_docs/version-0.62/running-on-device.md +++ b/website/versioned_docs/version-0.62/running-on-device.md @@ -32,9 +32,9 @@ If you used Expo CLI or Create React Native App to set up your project, you can
Development OS: - + +
diff --git a/website/versioned_docs/version-0.63/components-and-apis.md b/website/versioned_docs/version-0.63/components-and-apis.md index 5298eeba370..6e8fcd6ef89 100644 --- a/website/versioned_docs/version-0.63/components-and-apis.md +++ b/website/versioned_docs/version-0.63/components-and-apis.md @@ -116,7 +116,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

BackHandler

+

BackHandler

Detect hardware button presses for back navigation.

@@ -128,7 +128,7 @@ Many of the following components provide wrappers for commonly used Android clas
-

PermissionsAndroid

+

PermissionsAndroid

Provides access to the permissions model introduced in Android M.

diff --git a/website/versioned_docs/version-0.63/getting-started.md b/website/versioned_docs/version-0.63/getting-started.md index a26da6cae83..a3450b7ea2f 100644 --- a/website/versioned_docs/version-0.63/getting-started.md +++ b/website/versioned_docs/version-0.63/getting-started.md @@ -54,7 +54,7 @@ Congratulations! You've successfully run and modified your first React Native ap
-

Now what?

+

Now what?

Expo also has [docs](https://docs.expo.io) you can reference if you have questions specific to the tool. You can also ask for help at [Expo forums](https://forums.expo.io). diff --git a/website/versioned_docs/version-0.63/intro-react-native-components.md b/website/versioned_docs/version-0.63/intro-react-native-components.md index 725516460f3..bd69997eb36 100644 --- a/website/versioned_docs/version-0.63/intro-react-native-components.md +++ b/website/versioned_docs/version-0.63/intro-react-native-components.md @@ -12,7 +12,7 @@ React Native is an open source framework for building Android and iOS applicatio In Android and iOS development, a **view** is the basic building block of UI: a small rectangular element on the screen which can be used to display text, images, or respond to user input. Even the smallest visual elements of an app, like a line of text or a button, are kinds of views. Some kinds of views can contain other views. It’s views all the way down!
- Diagram of Android and iOS app showing them both built on top of atomic elements called views. + Diagram of Android and iOS app showing them both built on top of atomic elements called views.
Just a sampling of the many views used in Android and iOS apps.
@@ -74,4 +74,4 @@ export default App; Because React Native uses the same API structure as React components, you’ll need to understand React component APIs to get started. The [next section](intro-react) makes for a quick introduction or refresher on the topic. However, if you’re already familiar with React, feel free to [skip ahead](handling-text-input). -A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. +A diagram showing React Native's Core Components are a subset of React Components that ship with React Native. diff --git a/website/versioned_docs/version-0.63/pressable.md b/website/versioned_docs/version-0.63/pressable.md index 34a51fc59bd..c31c138d04a 100644 --- a/website/versioned_docs/version-0.63/pressable.md +++ b/website/versioned_docs/version-0.63/pressable.md @@ -33,7 +33,7 @@ Fingers are not the most precise instruments, and it is common for users to acci > The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.
- Diagram of HitRect and PressRect and how they work. + Diagram of HitRect and PressRect and how they work.
You can set HitRect with hitSlop and set PressRect with pressRetentionOffset.
From c4d3a127d6f382cd22a4a7ac2cb45e5abaab468a Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 14:08:44 +0530 Subject: [PATCH 07/10] Revert "Fix: Title Strings in versioned docs" This reverts commit 8327aa51a818c74e58231a86404db8bfe2e6b8a6. --- website/versioned_docs/version-0.58/cameraroll.md | 2 +- website/versioned_docs/version-0.58/geolocation.md | 2 +- website/versioned_docs/version-0.58/webview.md | 2 +- website/versioned_docs/version-0.59/maskedviewios.md | 2 +- website/versioned_docs/version-0.61/alertios.md | 2 +- website/versioned_docs/version-0.61/checkbox.md | 2 +- website/versioned_docs/version-0.61/clipboard.md | 2 +- website/versioned_docs/version-0.61/datepickerandroid.md | 2 +- website/versioned_docs/version-0.61/datepickerios.md | 2 +- website/versioned_docs/version-0.61/imageeditor.md | 2 +- website/versioned_docs/version-0.61/imagepickerios.md | 2 +- website/versioned_docs/version-0.61/pickerios.md | 2 +- website/versioned_docs/version-0.61/progressbarandroid.md | 2 +- website/versioned_docs/version-0.61/progressviewios.md | 2 +- website/versioned_docs/version-0.61/pushnotificationios.md | 2 +- website/versioned_docs/version-0.61/segmentedcontrolios.md | 2 +- website/versioned_docs/version-0.61/slider.md | 2 +- website/versioned_docs/version-0.61/statusbarios.md | 2 +- website/versioned_docs/version-0.61/timepickerandroid.md | 2 +- website/versioned_docs/version-0.61/viewpagerandroid.md | 2 +- website/versioned_docs/version-0.62/alertios.md | 2 +- website/versioned_docs/version-0.62/checkbox.md | 2 +- website/versioned_docs/version-0.62/clipboard.md | 2 +- website/versioned_docs/version-0.62/datepickerandroid.md | 2 +- website/versioned_docs/version-0.62/datepickerios.md | 2 +- website/versioned_docs/version-0.62/picker.md | 2 +- website/versioned_docs/version-0.62/progressbarandroid.md | 2 +- website/versioned_docs/version-0.62/progressviewios.md | 2 +- website/versioned_docs/version-0.62/pushnotificationios.md | 2 +- website/versioned_docs/version-0.62/slider.md | 2 +- website/versioned_docs/version-0.62/timepickerandroid.md | 2 +- website/versioned_docs/version-0.63/checkbox.md | 2 +- website/versioned_docs/version-0.63/datepickerios.md | 2 +- website/versioned_docs/version-0.63/picker.md | 2 +- website/versioned_docs/version-0.63/progressbarandroid.md | 2 +- website/versioned_docs/version-0.63/progressviewios.md | 2 +- website/versioned_docs/version-0.63/segmentedcontrolios.md | 2 +- 37 files changed, 37 insertions(+), 37 deletions(-) diff --git a/website/versioned_docs/version-0.58/cameraroll.md b/website/versioned_docs/version-0.58/cameraroll.md index 81e37315f98..1b27d7979ff 100644 --- a/website/versioned_docs/version-0.58/cameraroll.md +++ b/website/versioned_docs/version-0.58/cameraroll.md @@ -1,6 +1,6 @@ --- id: version-0.58-cameraroll -title: '🚧 CameraRoll' +title: 🚧 CameraRoll original_id: cameraroll custom_edit_url: https://github.com/facebook/react-native-website/edit/master/website/versioned_docs/version-0.58/cameraroll.md --- diff --git a/website/versioned_docs/version-0.58/geolocation.md b/website/versioned_docs/version-0.58/geolocation.md index 75190eca188..6bbe003d0b3 100644 --- a/website/versioned_docs/version-0.58/geolocation.md +++ b/website/versioned_docs/version-0.58/geolocation.md @@ -1,6 +1,6 @@ --- id: version-0.58-geolocation -title: '🚧 Geolocation' +title: 🚧 Geolocation original_id: geolocation --- diff --git a/website/versioned_docs/version-0.58/webview.md b/website/versioned_docs/version-0.58/webview.md index 594c6125ae4..faf612c92b6 100644 --- a/website/versioned_docs/version-0.58/webview.md +++ b/website/versioned_docs/version-0.58/webview.md @@ -1,6 +1,6 @@ --- id: version-0.58-webview -title: '🚧 WebView' +title: 🚧 WebView original_id: webview --- diff --git a/website/versioned_docs/version-0.59/maskedviewios.md b/website/versioned_docs/version-0.59/maskedviewios.md index 25538d29cb9..e03b073d9c8 100644 --- a/website/versioned_docs/version-0.59/maskedviewios.md +++ b/website/versioned_docs/version-0.59/maskedviewios.md @@ -1,6 +1,6 @@ --- id: version-0.59-maskedviewios -title: '🚧 MaskedViewIOS' +title: 🚧 MaskedViewIOS original_id: maskedviewios --- diff --git a/website/versioned_docs/version-0.61/alertios.md b/website/versioned_docs/version-0.61/alertios.md index f28403874e1..204545e35a7 100644 --- a/website/versioned_docs/version-0.61/alertios.md +++ b/website/versioned_docs/version-0.61/alertios.md @@ -1,6 +1,6 @@ --- id: version-0.61-alertios -title: '🚧 AlertIOS' +title: 🚧 AlertIOS original_id: alertios --- diff --git a/website/versioned_docs/version-0.61/checkbox.md b/website/versioned_docs/version-0.61/checkbox.md index abd88c03114..a4352fee1ae 100644 --- a/website/versioned_docs/version-0.61/checkbox.md +++ b/website/versioned_docs/version-0.61/checkbox.md @@ -1,6 +1,6 @@ --- id: version-0.61-checkbox -title: '🚧 CheckBox' +title: 🚧 CheckBox original_id: checkbox --- diff --git a/website/versioned_docs/version-0.61/clipboard.md b/website/versioned_docs/version-0.61/clipboard.md index 6111497bdb3..e88174eb25d 100644 --- a/website/versioned_docs/version-0.61/clipboard.md +++ b/website/versioned_docs/version-0.61/clipboard.md @@ -1,6 +1,6 @@ --- id: version-0.61-clipboard -title: '🚧 Clipboard' +title: 🚧 Clipboard original_id: clipboard --- diff --git a/website/versioned_docs/version-0.61/datepickerandroid.md b/website/versioned_docs/version-0.61/datepickerandroid.md index 16729a2bb2e..bcff2e70dfb 100644 --- a/website/versioned_docs/version-0.61/datepickerandroid.md +++ b/website/versioned_docs/version-0.61/datepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-datepickerandroid -title: '🚧 DatePickerAndroid' +title: 🚧 DatePickerAndroid original_id: datepickerandroid --- diff --git a/website/versioned_docs/version-0.61/datepickerios.md b/website/versioned_docs/version-0.61/datepickerios.md index 3a2e012b3c9..1765b8d7956 100644 --- a/website/versioned_docs/version-0.61/datepickerios.md +++ b/website/versioned_docs/version-0.61/datepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.61-datepickerios -title: '🚧 DatePickerIOS' +title: 🚧 DatePickerIOS original_id: datepickerios --- diff --git a/website/versioned_docs/version-0.61/imageeditor.md b/website/versioned_docs/version-0.61/imageeditor.md index 57fc937574c..2d22809443d 100644 --- a/website/versioned_docs/version-0.61/imageeditor.md +++ b/website/versioned_docs/version-0.61/imageeditor.md @@ -1,6 +1,6 @@ --- id: version-0.61-imageeditor -title: '🚧 ImageEditor' +title: 🚧 ImageEditor original_id: imageeditor --- diff --git a/website/versioned_docs/version-0.61/imagepickerios.md b/website/versioned_docs/version-0.61/imagepickerios.md index b84e571f0c2..a4bbf8be6b9 100644 --- a/website/versioned_docs/version-0.61/imagepickerios.md +++ b/website/versioned_docs/version-0.61/imagepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.61-imagepickerios -title: '🚧 ImagePickerIOS' +title: 🚧 ImagePickerIOS original_id: imagepickerios --- diff --git a/website/versioned_docs/version-0.61/pickerios.md b/website/versioned_docs/version-0.61/pickerios.md index 958c7ddd724..081c92dd3bf 100644 --- a/website/versioned_docs/version-0.61/pickerios.md +++ b/website/versioned_docs/version-0.61/pickerios.md @@ -1,6 +1,6 @@ --- id: version-0.61-pickerios -title: '🚧 PickerIOS' +title: 🚧 PickerIOS original_id: pickerios --- diff --git a/website/versioned_docs/version-0.61/progressbarandroid.md b/website/versioned_docs/version-0.61/progressbarandroid.md index bbb7d3454d8..b6cb2bea7bc 100644 --- a/website/versioned_docs/version-0.61/progressbarandroid.md +++ b/website/versioned_docs/version-0.61/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-progressbarandroid -title: '🚧 ProgressBarAndroid' +title: 🚧 ProgressBarAndroid original_id: progressbarandroid --- diff --git a/website/versioned_docs/version-0.61/progressviewios.md b/website/versioned_docs/version-0.61/progressviewios.md index 055a3835b27..dd7498343c1 100644 --- a/website/versioned_docs/version-0.61/progressviewios.md +++ b/website/versioned_docs/version-0.61/progressviewios.md @@ -1,6 +1,6 @@ --- id: version-0.61-progressviewios -title: '🚧 ProgressViewIOS' +title: 🚧 ProgressViewIOS original_id: progressviewios --- diff --git a/website/versioned_docs/version-0.61/pushnotificationios.md b/website/versioned_docs/version-0.61/pushnotificationios.md index 86eb9730cbf..bca4d279e3d 100644 --- a/website/versioned_docs/version-0.61/pushnotificationios.md +++ b/website/versioned_docs/version-0.61/pushnotificationios.md @@ -1,6 +1,6 @@ --- id: version-0.61-pushnotificationios -title: '🚧 PushNotificationIOS' +title: 🚧 PushNotificationIOS original_id: pushnotificationios --- diff --git a/website/versioned_docs/version-0.61/segmentedcontrolios.md b/website/versioned_docs/version-0.61/segmentedcontrolios.md index c865bae3c6a..e53ae833ffb 100644 --- a/website/versioned_docs/version-0.61/segmentedcontrolios.md +++ b/website/versioned_docs/version-0.61/segmentedcontrolios.md @@ -1,6 +1,6 @@ --- id: version-0.61-segmentedcontrolios -title: '🚧 SegmentedControlIOS' +title: 🚧 SegmentedControlIOS original_id: segmentedcontrolios --- diff --git a/website/versioned_docs/version-0.61/slider.md b/website/versioned_docs/version-0.61/slider.md index 582f2ebdc94..1ea2feffc61 100644 --- a/website/versioned_docs/version-0.61/slider.md +++ b/website/versioned_docs/version-0.61/slider.md @@ -1,6 +1,6 @@ --- id: version-0.61-slider -title: '🚧 Slider' +title: 🚧 Slider original_id: slider --- diff --git a/website/versioned_docs/version-0.61/statusbarios.md b/website/versioned_docs/version-0.61/statusbarios.md index f7dc8f23d81..9c65ae6be94 100644 --- a/website/versioned_docs/version-0.61/statusbarios.md +++ b/website/versioned_docs/version-0.61/statusbarios.md @@ -1,6 +1,6 @@ --- id: version-0.61-statusbarios -title: '🚧 StatusBarIOS' +title: 🚧 StatusBarIOS original_id: statusbarios --- diff --git a/website/versioned_docs/version-0.61/timepickerandroid.md b/website/versioned_docs/version-0.61/timepickerandroid.md index 74b20a8cdd4..313b413404e 100644 --- a/website/versioned_docs/version-0.61/timepickerandroid.md +++ b/website/versioned_docs/version-0.61/timepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-timepickerandroid -title: '🚧 TimePickerAndroid' +title: 🚧 TimePickerAndroid original_id: timepickerandroid --- diff --git a/website/versioned_docs/version-0.61/viewpagerandroid.md b/website/versioned_docs/version-0.61/viewpagerandroid.md index cd34a58b2b2..c9be2536bd1 100644 --- a/website/versioned_docs/version-0.61/viewpagerandroid.md +++ b/website/versioned_docs/version-0.61/viewpagerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.61-viewpagerandroid -title: '🚧 ViewPagerAndroid' +title: 🚧 ViewPagerAndroid original_id: viewpagerandroid --- diff --git a/website/versioned_docs/version-0.62/alertios.md b/website/versioned_docs/version-0.62/alertios.md index 6782fefd233..3caa6ad192a 100644 --- a/website/versioned_docs/version-0.62/alertios.md +++ b/website/versioned_docs/version-0.62/alertios.md @@ -1,6 +1,6 @@ --- id: version-0.62-alertios -title: '🚧 AlertIOS' +title: 🚧 AlertIOS original_id: alertios --- diff --git a/website/versioned_docs/version-0.62/checkbox.md b/website/versioned_docs/version-0.62/checkbox.md index e83bca2077a..d751e78acfc 100644 --- a/website/versioned_docs/version-0.62/checkbox.md +++ b/website/versioned_docs/version-0.62/checkbox.md @@ -1,6 +1,6 @@ --- id: version-0.62-checkbox -title: '🚧 CheckBox' +title: 🚧 CheckBox original_id: checkbox --- diff --git a/website/versioned_docs/version-0.62/clipboard.md b/website/versioned_docs/version-0.62/clipboard.md index 0d32a08ca22..bf0f0a98041 100644 --- a/website/versioned_docs/version-0.62/clipboard.md +++ b/website/versioned_docs/version-0.62/clipboard.md @@ -1,6 +1,6 @@ --- id: version-0.62-clipboard -title: '🚧 Clipboard' +title: 🚧 Clipboard original_id: clipboard --- diff --git a/website/versioned_docs/version-0.62/datepickerandroid.md b/website/versioned_docs/version-0.62/datepickerandroid.md index d26273f3090..dffc27c5a80 100644 --- a/website/versioned_docs/version-0.62/datepickerandroid.md +++ b/website/versioned_docs/version-0.62/datepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.62-datepickerandroid -title: '🚧 DatePickerAndroid' +title: 🚧 DatePickerAndroid original_id: datepickerandroid --- diff --git a/website/versioned_docs/version-0.62/datepickerios.md b/website/versioned_docs/version-0.62/datepickerios.md index e6c9a739406..4461914fcf3 100644 --- a/website/versioned_docs/version-0.62/datepickerios.md +++ b/website/versioned_docs/version-0.62/datepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.62-datepickerios -title: '🚧 DatePickerIOS' +title: 🚧 DatePickerIOS original_id: datepickerios --- diff --git a/website/versioned_docs/version-0.62/picker.md b/website/versioned_docs/version-0.62/picker.md index fe5cadab0e3..5e4502fa4ad 100644 --- a/website/versioned_docs/version-0.62/picker.md +++ b/website/versioned_docs/version-0.62/picker.md @@ -1,6 +1,6 @@ --- id: version-0.62-picker -title: '🚧 Picker' +title: 🚧 Picker original_id: picker --- diff --git a/website/versioned_docs/version-0.62/progressbarandroid.md b/website/versioned_docs/version-0.62/progressbarandroid.md index 7699d185648..20a68d8126c 100644 --- a/website/versioned_docs/version-0.62/progressbarandroid.md +++ b/website/versioned_docs/version-0.62/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: version-0.62-progressbarandroid -title: '🚧 ProgressBarAndroid' +title: 🚧 ProgressBarAndroid original_id: progressbarandroid --- diff --git a/website/versioned_docs/version-0.62/progressviewios.md b/website/versioned_docs/version-0.62/progressviewios.md index 456f7390710..26d875a71a0 100644 --- a/website/versioned_docs/version-0.62/progressviewios.md +++ b/website/versioned_docs/version-0.62/progressviewios.md @@ -1,6 +1,6 @@ --- id: version-0.62-progressviewios -title: '🚧 ProgressViewIOS' +title: 🚧 ProgressViewIOS original_id: progressviewios --- diff --git a/website/versioned_docs/version-0.62/pushnotificationios.md b/website/versioned_docs/version-0.62/pushnotificationios.md index 0dde21b90ca..e7daae1e074 100644 --- a/website/versioned_docs/version-0.62/pushnotificationios.md +++ b/website/versioned_docs/version-0.62/pushnotificationios.md @@ -1,6 +1,6 @@ --- id: version-0.62-pushnotificationios -title: '🚧 PushNotificationIOS' +title: 🚧 PushNotificationIOS original_id: pushnotificationios --- diff --git a/website/versioned_docs/version-0.62/slider.md b/website/versioned_docs/version-0.62/slider.md index 21d59420b26..251f0f7fbff 100644 --- a/website/versioned_docs/version-0.62/slider.md +++ b/website/versioned_docs/version-0.62/slider.md @@ -1,6 +1,6 @@ --- id: version-0.62-slider -title: '🚧 Slider' +title: 🚧 Slider original_id: slider --- diff --git a/website/versioned_docs/version-0.62/timepickerandroid.md b/website/versioned_docs/version-0.62/timepickerandroid.md index 2ce921eb5c4..e7ea6024f50 100644 --- a/website/versioned_docs/version-0.62/timepickerandroid.md +++ b/website/versioned_docs/version-0.62/timepickerandroid.md @@ -1,6 +1,6 @@ --- id: version-0.62-timepickerandroid -title: '🚧 TimePickerAndroid' +title: 🚧 TimePickerAndroid original_id: timepickerandroid --- diff --git a/website/versioned_docs/version-0.63/checkbox.md b/website/versioned_docs/version-0.63/checkbox.md index e319247d9ef..91aff8366b8 100644 --- a/website/versioned_docs/version-0.63/checkbox.md +++ b/website/versioned_docs/version-0.63/checkbox.md @@ -1,6 +1,6 @@ --- id: version-0.63-checkbox -title: '🚧 CheckBox' +title: 🚧 CheckBox original_id: checkbox --- diff --git a/website/versioned_docs/version-0.63/datepickerios.md b/website/versioned_docs/version-0.63/datepickerios.md index 049e9af9654..5ff280daadc 100644 --- a/website/versioned_docs/version-0.63/datepickerios.md +++ b/website/versioned_docs/version-0.63/datepickerios.md @@ -1,6 +1,6 @@ --- id: version-0.63-datepickerios -title: '🚧 DatePickerIOS' +title: 🚧 DatePickerIOS original_id: datepickerios --- diff --git a/website/versioned_docs/version-0.63/picker.md b/website/versioned_docs/version-0.63/picker.md index e7cbe158809..fc0583d327f 100644 --- a/website/versioned_docs/version-0.63/picker.md +++ b/website/versioned_docs/version-0.63/picker.md @@ -1,6 +1,6 @@ --- id: version-0.63-picker -title: '🚧 Picker' +title: 🚧 Picker original_id: picker --- diff --git a/website/versioned_docs/version-0.63/progressbarandroid.md b/website/versioned_docs/version-0.63/progressbarandroid.md index a59436f51b7..334e5edff5e 100644 --- a/website/versioned_docs/version-0.63/progressbarandroid.md +++ b/website/versioned_docs/version-0.63/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: version-0.63-progressbarandroid -title: '🚧 ProgressBarAndroid' +title: 🚧 ProgressBarAndroid original_id: progressbarandroid --- diff --git a/website/versioned_docs/version-0.63/progressviewios.md b/website/versioned_docs/version-0.63/progressviewios.md index c24328615c0..23766e050b5 100644 --- a/website/versioned_docs/version-0.63/progressviewios.md +++ b/website/versioned_docs/version-0.63/progressviewios.md @@ -1,6 +1,6 @@ --- id: version-0.63-progressviewios -title: '🚧 ProgressViewIOS' +title: 🚧 ProgressViewIOS original_id: progressviewios --- diff --git a/website/versioned_docs/version-0.63/segmentedcontrolios.md b/website/versioned_docs/version-0.63/segmentedcontrolios.md index a3d48cd3e65..bd24d3e5384 100644 --- a/website/versioned_docs/version-0.63/segmentedcontrolios.md +++ b/website/versioned_docs/version-0.63/segmentedcontrolios.md @@ -1,6 +1,6 @@ --- id: version-0.63-segmentedcontrolios -title: '🚧 SegmentedControlIOS' +title: 🚧 SegmentedControlIOS original_id: segmentedcontrolios --- From 562c19c017925973e7906bd90edfe4c8c6101b2a Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 14:14:36 +0530 Subject: [PATCH 08/10] Revert title changes --- docs/asyncstorage.md | 2 +- docs/checkbox.md | 2 +- docs/clipboard.md | 2 +- docs/datepickerios.md | 2 +- docs/imageeditor.md | 2 +- docs/imagepickerios.md | 2 +- docs/picker.md | 2 +- docs/pickerios.md | 2 +- docs/progressbarandroid.md | 2 +- docs/progressviewios.md | 2 +- docs/pushnotificationios.md | 2 +- docs/segmentedcontrolios.md | 2 +- docs/slider.md | 2 +- docs/statusbarios.md | 2 +- docs/timepickerandroid.md | 2 +- docs/viewpagerandroid.md | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/asyncstorage.md b/docs/asyncstorage.md index 689a785e0d3..70f783e47ad 100644 --- a/docs/asyncstorage.md +++ b/docs/asyncstorage.md @@ -1,6 +1,6 @@ --- id: asyncstorage -title: '🚧 AsyncStorage' +title: 🚧 AsyncStorage --- > **Deprecated.** Use [@react-native-community/async-storage](https://github.com/react-native-community/react-native-async-storage) instead. diff --git a/docs/checkbox.md b/docs/checkbox.md index 7e4472f324e..cf04dba0179 100644 --- a/docs/checkbox.md +++ b/docs/checkbox.md @@ -1,6 +1,6 @@ --- id: checkbox -title: '🚧 CheckBox' +title: 🚧 CheckBox --- > **Deprecated.** Use [@react-native-community/checkbox](https://github.com/react-native-community/react-native-checkbox) instead. diff --git a/docs/clipboard.md b/docs/clipboard.md index 065ea3c9e62..34b82b937b9 100644 --- a/docs/clipboard.md +++ b/docs/clipboard.md @@ -1,6 +1,6 @@ --- id: clipboard -title: '🚧 Clipboard' +title: 🚧 Clipboard --- > **Deprecated.** Use [@react-native-community/clipboard](https://github.com/react-native-community/clipboard) instead. diff --git a/docs/datepickerios.md b/docs/datepickerios.md index 2de4d039fb3..6db2339a52d 100644 --- a/docs/datepickerios.md +++ b/docs/datepickerios.md @@ -1,6 +1,6 @@ --- id: datepickerios -title: '🚧 DatePickerIOS' +title: 🚧 DatePickerIOS --- > **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead. diff --git a/docs/imageeditor.md b/docs/imageeditor.md index 6133c4cf056..8b61d8aa4b7 100644 --- a/docs/imageeditor.md +++ b/docs/imageeditor.md @@ -1,6 +1,6 @@ --- id: imageeditor -title: '🚧 ImageEditor' +title: 🚧 ImageEditor --- > **Deprecated.** Use [@react-native-community/image-editor](https://github.com/react-native-community/react-native-image-editor) instead. diff --git a/docs/imagepickerios.md b/docs/imagepickerios.md index c998b94ea18..5e4685eff8e 100644 --- a/docs/imagepickerios.md +++ b/docs/imagepickerios.md @@ -1,6 +1,6 @@ --- id: imagepickerios -title: '🚧 ImagePickerIOS' +title: 🚧 ImagePickerIOS --- > **Deprecated.** Use [@react-native-community/image-picker-ios](https://github.com/react-native-community/react-native-image-picker-ios) instead. diff --git a/docs/picker.md b/docs/picker.md index ffe72b9a847..67df9bf4163 100644 --- a/docs/picker.md +++ b/docs/picker.md @@ -1,6 +1,6 @@ --- id: picker -title: '🚧 Picker' +title: 🚧 Picker --- > **Deprecated.** Use [@react-native-community/picker](https://github.com/react-native-community/react-native-picker) instead. diff --git a/docs/pickerios.md b/docs/pickerios.md index a18ad1e1085..5d603e2b866 100644 --- a/docs/pickerios.md +++ b/docs/pickerios.md @@ -1,6 +1,6 @@ --- id: pickerios -title: '🚧 PickerIOS' +title: 🚧 PickerIOS --- > **Deprecated.** Use [@react-native-community/picker](https://github.com/react-native-community/react-native-picker) instead. diff --git a/docs/progressbarandroid.md b/docs/progressbarandroid.md index b1014f92c60..3e444b658b5 100644 --- a/docs/progressbarandroid.md +++ b/docs/progressbarandroid.md @@ -1,6 +1,6 @@ --- id: progressbarandroid -title: '🚧 ProgressBarAndroid' +title: 🚧 ProgressBarAndroid --- > **Deprecated.** Use [@react-native-community/progress-bar-android](https://github.com/react-native-community/progress-bar-android) instead. diff --git a/docs/progressviewios.md b/docs/progressviewios.md index 39274a1b021..20114f3a01b 100644 --- a/docs/progressviewios.md +++ b/docs/progressviewios.md @@ -1,6 +1,6 @@ --- id: progressviewios -title: '🚧 ProgressViewIOS' +title: 🚧 ProgressViewIOS --- > **Deprecated.** Use [@react-native-community/progress-view](https://github.com/react-native-community/progress-view) instead. diff --git a/docs/pushnotificationios.md b/docs/pushnotificationios.md index 7c792f85f3d..319d52b95ae 100644 --- a/docs/pushnotificationios.md +++ b/docs/pushnotificationios.md @@ -1,6 +1,6 @@ --- id: pushnotificationios -title: '🚧 PushNotificationIOS' +title: 🚧 PushNotificationIOS --- > **Deprecated.** Use [@react-native-community/push-notification-ios](https://github.com/react-native-community/react-native-push-notification-ios) instead. diff --git a/docs/segmentedcontrolios.md b/docs/segmentedcontrolios.md index 8d8597423d5..0d9aa116063 100644 --- a/docs/segmentedcontrolios.md +++ b/docs/segmentedcontrolios.md @@ -1,6 +1,6 @@ --- id: segmentedcontrolios -title: '🚧 SegmentedControlIOS' +title: 🚧 SegmentedControlIOS --- > **Deprecated.** Use [@react-native-community/segmented-control](https://github.com/react-native-community/segmented-control) instead. diff --git a/docs/slider.md b/docs/slider.md index 68336d72812..80b40435bfe 100644 --- a/docs/slider.md +++ b/docs/slider.md @@ -1,6 +1,6 @@ --- id: slider -title: '🚧 Slider' +title: 🚧 Slider --- > **Deprecated.** Use [@react-native-community/slider](https://github.com/react-native-community/react-native-slider) instead. diff --git a/docs/statusbarios.md b/docs/statusbarios.md index c2dd2d7702e..ae1289efaba 100644 --- a/docs/statusbarios.md +++ b/docs/statusbarios.md @@ -1,6 +1,6 @@ --- id: statusbarios -title: '🚧 StatusBarIOS' +title: 🚧 StatusBarIOS --- > **Deprecated.** Use [`StatusBar`](statusbar.md) for mutating the status bar. diff --git a/docs/timepickerandroid.md b/docs/timepickerandroid.md index dd82974a085..57755621227 100644 --- a/docs/timepickerandroid.md +++ b/docs/timepickerandroid.md @@ -1,6 +1,6 @@ --- id: timepickerandroid -title: '🚧 TimePickerAndroid' +title: 🚧 TimePickerAndroid --- > **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead. diff --git a/docs/viewpagerandroid.md b/docs/viewpagerandroid.md index e838f491d63..489eb1352c7 100644 --- a/docs/viewpagerandroid.md +++ b/docs/viewpagerandroid.md @@ -1,6 +1,6 @@ --- id: viewpagerandroid -title: '🚧 ViewPagerAndroid' +title: 🚧 ViewPagerAndroid --- > **Deprecated.** Use [@react-native-community/viewpager](https://github.com/react-native-community/react-native-viewpager) instead. From 16f6c716a192347efef34a6d3f3f9ecf2b90e153 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 14:17:55 +0530 Subject: [PATCH 09/10] HotFix: Errant title change --- docs/alertios.md | 2 +- docs/datepickerandroid.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/alertios.md b/docs/alertios.md index e338397bbd6..3113eacacc9 100644 --- a/docs/alertios.md +++ b/docs/alertios.md @@ -1,6 +1,6 @@ --- id: alertios -title: '🚧 AlertIOS' +title: 🚧 AlertIOS --- > **Deprecated.** Use [`Alert`](alert) instead. diff --git a/docs/datepickerandroid.md b/docs/datepickerandroid.md index 0165d750212..899db97ca7b 100644 --- a/docs/datepickerandroid.md +++ b/docs/datepickerandroid.md @@ -1,6 +1,6 @@ --- id: datepickerandroid -title: '🚧 DatePickerAndroid' +title: 🚧 DatePickerAndroid --- > **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead. From 73b077bc0a1eddd837abedfca7514ff9d549afb9 Mon Sep 17 00:00:00 2001 From: Darsh Date: Thu, 20 Aug 2020 18:06:44 +0530 Subject: [PATCH 10/10] Fix: Endline errors with multiMerge tables --- website/versioned_docs/version-0.29/asyncstorage.md | 9 +++++++-- website/versioned_docs/version-0.31/asyncstorage.md | 10 ++++++++-- website/versioned_docs/version-0.56/asyncstorage.md | 10 ++++++++-- website/versioned_docs/version-0.58/asyncstorage.md | 10 ++++++++-- website/versioned_docs/version-0.59/asyncstorage.md | 10 ++++++++-- website/versioned_docs/version-0.60/asyncstorage.md | 10 ++++++++-- website/versioned_docs/version-0.61/asyncstorage.md | 5 ++++- 7 files changed, 51 insertions(+), 13 deletions(-) diff --git a/website/versioned_docs/version-0.29/asyncstorage.md b/website/versioned_docs/version-0.29/asyncstorage.md index dfd7445ce5a..7545f4da8d2 100644 --- a/website/versioned_docs/version-0.29/asyncstorage.md +++ b/website/versioned_docs/version-0.29/asyncstorage.md @@ -258,7 +258,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -301,7 +304,9 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------- | -------- | ------------------------------------------------ | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.31/asyncstorage.md b/website/versioned_docs/version-0.31/asyncstorage.md index d429e7c239e..ad34947a163 100644 --- a/website/versioned_docs/version-0.31/asyncstorage.md +++ b/website/versioned_docs/version-0.31/asyncstorage.md @@ -258,7 +258,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -301,7 +304,10 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.56/asyncstorage.md b/website/versioned_docs/version-0.56/asyncstorage.md index f40f0cc8a7f..3f0fdc1b4ef 100644 --- a/website/versioned_docs/version-0.56/asyncstorage.md +++ b/website/versioned_docs/version-0.56/asyncstorage.md @@ -268,7 +268,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -311,7 +314,10 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.58/asyncstorage.md b/website/versioned_docs/version-0.58/asyncstorage.md index 40aa5948956..bbbc910d883 100644 --- a/website/versioned_docs/version-0.58/asyncstorage.md +++ b/website/versioned_docs/version-0.58/asyncstorage.md @@ -271,7 +271,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -314,7 +317,10 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.59/asyncstorage.md b/website/versioned_docs/version-0.59/asyncstorage.md index f6c545e173c..512e3ff5753 100644 --- a/website/versioned_docs/version-0.59/asyncstorage.md +++ b/website/versioned_docs/version-0.59/asyncstorage.md @@ -273,7 +273,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -316,7 +319,10 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.60/asyncstorage.md b/website/versioned_docs/version-0.60/asyncstorage.md index 4df49d0eb44..83a5a53c800 100644 --- a/website/versioned_docs/version-0.60/asyncstorage.md +++ b/website/versioned_docs/version-0.60/asyncstorage.md @@ -259,7 +259,10 @@ The method returns a `Promise` object. **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to set. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | --- @@ -302,7 +305,10 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: diff --git a/website/versioned_docs/version-0.61/asyncstorage.md b/website/versioned_docs/version-0.61/asyncstorage.md index d5664d0bd93..8b786ce63b9 100644 --- a/website/versioned_docs/version-0.61/asyncstorage.md +++ b/website/versioned_docs/version-0.61/asyncstorage.md @@ -305,7 +305,10 @@ Batch operation to merge in existing and new values for a given set of keys. Thi **Parameters:** -| Name | Type | Required | Description | | ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- || keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | | callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | +| Name | Type | Required | Description | +| ------------- | ---------------------------------- | -------- | ---------------------------------------------------------------------------- | +| keyValuePairs | `Array>` | Yes | Array of key-value array for the items to merge. | +| callback | `?(errors: ?Array) => void` | No | Function that will be called with an array of any key-specific errors found. | Example: