Skip to content

Commit

Permalink
deprecation indicator and deprecation notes standardization
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek committed Dec 3, 2019
1 parent ef28567 commit 9269e76
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion docs/alertios.md
@@ -1,6 +1,6 @@
---
id: alertios
title: AlertIOS
title: 🚧 AlertIOS
---

> **Deprecated.** `AlertIOS` has been moved to [`Alert`](alert.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/asyncstorage.md
@@ -1,9 +1,9 @@
---
id: asyncstorage
title: AsyncStorage
title: 🚧 AsyncStorage
---

> **Deprecated.** Use [react-native-community/react-native-async-storage](https://github.com/react-native-community/react-native-async-storage) instead.
> **Deprecated.** Use [@react-native-community/async-storage](https://github.com/react-native-community/react-native-async-storage) instead.
`AsyncStorage` is an unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

Expand Down
6 changes: 3 additions & 3 deletions docs/datepickerandroid.md
@@ -1,11 +1,11 @@
---
id: datepickerandroid
title: DatePickerAndroid
title: 🚧 DatePickerAndroid
---

Opens the standard Android date picker dialog.
> **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead.
> `DatePickerAndroid` has been merged with `DatePickerIOS` and `TimePickerAndroid` into a single component called [DateTimePicker](https://github.com/react-native-community/react-native-datetimepicker#react-native-datetimepicker) and will be removed in a future release.
Opens the standard Android date picker dialog.

### Example

Expand Down
6 changes: 3 additions & 3 deletions docs/datepickerios.md
@@ -1,11 +1,11 @@
---
id: datepickerios
title: DatePickerIOS
title: 🚧 DatePickerIOS
---

Use `DatePickerIOS` to render a date/time picker (selector) on iOS. This is a controlled component, so you must hook in to the `onDateChange` callback and update the `date` prop in order for the component to update, otherwise the user's change will be reverted immediately to reflect `props.date` as the source of truth.
> **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead.
> `DatePickerIOS` has been merged with `TimePickerAndroid` and `DatePickerAndroid` into a single component called [DateTimePicker](https://github.com/react-native-community/react-native-datetimepicker#react-native-datetimepicker) and will be removed in a future release.
Use `DatePickerIOS` to render a date/time picker (selector) on iOS. This is a controlled component, so you must hook in to the `onDateChange` callback and update the `date` prop in order for the component to update, otherwise the user's change will be reverted immediately to reflect `props.date` as the source of truth.

### Example

Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion docs/pickerios.md
@@ -1,6 +1,6 @@
---
id: pickerios
title: PickerIOS
title: 🚧 PickerIOS
---

> **Deprecated.** Use [Picker](picker.md) instead.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
4 changes: 2 additions & 2 deletions docs/segmentedcontrolios.md
@@ -1,9 +1,9 @@
---
id: segmentedcontrolios
title: SegmentedControlIOS
title: 🚧 SegmentedControlIOS
---

> **Deprecated.** Use [@react-native-community/react-native-segmented-control](https://github.com/react-native-community/react-native-segmented-control) instead.
> **Deprecated.** Use [@react-native-community/segmented-control](https://github.com/react-native-community/react-native-segmented-control) instead.
Uses `SegmentedControlIOS` to render a UISegmentedControl iOS.

Expand Down
4 changes: 2 additions & 2 deletions docs/slider.md
@@ -1,9 +1,9 @@
---
id: slider
title: Slider
title: 🚧 Slider
---

> **Deprecated.** Use [react-native-community/react-native-slider](https://github.com/react-native-community/react-native-slider) instead.
> **Deprecated.** Use [@react-native-community/slider](https://github.com/react-native-community/react-native-slider) instead.
A component used to select a single value from a range of values.

Expand Down
4 changes: 2 additions & 2 deletions docs/viewpagerandroid.md
@@ -1,9 +1,9 @@
---
id: viewpagerandroid
title: ViewPagerAndroid
title: 🚧 ViewPagerAndroid
---

> **Deprecated.** Use [react-native-community/react-native-viewpager](https://github.com/react-native-community/react-native-viewpager) instead.
> **Deprecated.** Use [@react-native-community/viewpager](https://github.com/react-native-community/react-native-viewpager) instead.
Container that allows to flip left and right between child views. Each child view of the `ViewPagerAndroid` will be treated as a separate page and will be stretched to fill the `ViewPagerAndroid`.

Expand Down
22 changes: 11 additions & 11 deletions website/i18n/en.json
Expand Up @@ -21,7 +21,7 @@
"title": "Alert"
},
"alertios": {
"title": "AlertIOS"
"title": "🚧 AlertIOS"
},
"animated": {
"title": "Animated"
Expand All @@ -45,7 +45,7 @@
"title": "AppState"
},
"asyncstorage": {
"title": "AsyncStorage"
"title": "🚧 AsyncStorage"
},
"backhandler": {
"title": "BackHandler"
Expand Down Expand Up @@ -81,10 +81,10 @@
"title": "Custom WebView"
},
"datepickerandroid": {
"title": "DatePickerAndroid"
"title": "🚧 DatePickerAndroid"
},
"datepickerios": {
"title": "DatePickerIOS"
"title": "🚧 DatePickerIOS"
},
"debugging": {
"title": "Debugging"
Expand Down Expand Up @@ -141,10 +141,10 @@
"title": "ImageBackground"
},
"imageeditor": {
"title": "ImageEditor"
"title": "🚧 ImageEditor"
},
"imagepickerios": {
"title": "ImagePickerIOS"
"title": "🚧 ImagePickerIOS"
},
"images": {
"title": "Images"
Expand Down Expand Up @@ -234,7 +234,7 @@
"title": "Picker"
},
"pickerios": {
"title": "PickerIOS"
"title": "🚧 PickerIOS"
},
"pixelratio": {
"title": "PixelRatio"
Expand All @@ -252,7 +252,7 @@
"title": "Props"
},
"pushnotificationios": {
"title": "PushNotificationIOS"
"title": "🚧 PushNotificationIOS"
},
"refreshcontrol": {
"title": "RefreshControl"
Expand All @@ -276,7 +276,7 @@
"title": "SectionList"
},
"segmentedcontrolios": {
"title": "SegmentedControlIOS"
"title": "🚧 SegmentedControlIOS"
},
"settings": {
"title": "Settings"
Expand All @@ -291,7 +291,7 @@
"title": "Publishing to Google Play Store"
},
"slider": {
"title": "Slider"
"title": "🚧 Slider"
},
"state": {
"title": "State"
Expand Down Expand Up @@ -378,7 +378,7 @@
"title": "View"
},
"viewpagerandroid": {
"title": "ViewPagerAndroid"
"title": "🚧 ViewPagerAndroid"
},
"virtualizedlist": {
"title": "VirtualizedList"
Expand Down

0 comments on commit 9269e76

Please sign in to comment.