react-native/Libraries/CustomComponents/Navigator
Janic Duplessis 1c6e837504 Add a deprecatedPropType module to show deprecation warnings
Summary:
To allow smoother API changes for users we often deprecate props and keep them around for a while before removing them. Right now it is all done manually, this adds a consistent way to show a warning when using a deprecated prop.

This also adds a deprecation warning of the website generated from the deprecatedPropType.

<img width="643" alt="screen shot 2016-01-26 at 7 43 08 pm" src="https://cloud.githubusercontent.com/assets/2677334/12600172/7af28fb0-c465-11e5-85e5-3786852bf522.png">

It also changes places where we added the warnings manually to use deprecatedPropType instead.
Closes https://github.com/facebook/react-native/pull/5566

Reviewed By: svcscm

Differential Revision: D2874629

Pulled By: nicklockwood

fb-gh-sync-id: c3c63bae7bbec26cc146029abd9aa5efbe73f795
2016-01-29 02:05:38 -08:00
..
Navigation Updates for haste2 inside of jest 2016-01-08 06:52:29 -08:00
Navigator.js Add a deprecatedPropType module to show deprecation warnings 2016-01-29 02:05:38 -08:00
NavigatorBreadcrumbNavigationBar.js Disable navigation bar right button when it's transparent. 2016-01-26 01:28:34 -08:00
NavigatorBreadcrumbNavigationBarStyles.android.js Export per-platform NavigatorNavigationBarStyles for consistent styling 2015-10-10 15:32:46 -07:00
NavigatorBreadcrumbNavigationBarStyles.ios.js fix navigator lint warnings 2015-11-30 19:31:30 -08:00
NavigatorNavigationBar.js immediatelyResetRouteStack does not update Navigator's title 2015-12-15 15:40:27 -08:00
NavigatorNavigationBarStylesAndroid.js Export per-platform NavigatorNavigationBarStyles for consistent styling 2015-10-10 15:32:46 -07:00
NavigatorNavigationBarStylesIOS.js Fix Navigator.NavigationBar Title interactivity 2015-12-15 12:02:27 -08:00
NavigatorSceneConfigs.js FloatFromLeft scene configuration fixed. HorizontalSwipeJumpFromRight… 2015-12-16 15:08:44 -08:00