2016-02-05 22:25:17 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*
|
|
|
|
* @providesModule NavigationExperimental
|
|
|
|
* @flow
|
|
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const NavigationCard = require('NavigationCard');
|
2016-02-25 02:51:09 +00:00
|
|
|
const NavigationCardStack = require('NavigationCardStack');
|
2016-02-05 22:25:17 +00:00
|
|
|
const NavigationHeader = require('NavigationHeader');
|
2016-05-18 20:32:52 +00:00
|
|
|
const NavigationPropTypes = require('NavigationPropTypes');
|
2016-02-19 09:24:07 +00:00
|
|
|
const NavigationStateUtils = require('NavigationStateUtils');
|
2016-05-18 20:32:52 +00:00
|
|
|
const NavigationTransitioner = require('NavigationTransitioner');
|
2016-02-05 22:25:17 +00:00
|
|
|
|
2017-03-02 18:56:22 +00:00
|
|
|
const warning = require('fbjs/lib/warning');
|
|
|
|
|
|
|
|
// This warning will only be reached if the user has required the module
|
|
|
|
warning(
|
|
|
|
false,
|
|
|
|
'NavigationExperimental is deprecated and will be removed in a future ' +
|
|
|
|
'version of React Native. The NavigationExperimental views live on in ' +
|
|
|
|
'the React-Navigation project, which also makes it easy to declare ' +
|
|
|
|
'navigation logic for your app. Learn more at https://reactnavigation.org/'
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2016-02-05 22:25:17 +00:00
|
|
|
const NavigationExperimental = {
|
|
|
|
// Core
|
2016-02-19 09:24:07 +00:00
|
|
|
StateUtils: NavigationStateUtils,
|
2016-02-05 22:25:17 +00:00
|
|
|
|
|
|
|
// Views
|
2016-05-18 20:32:52 +00:00
|
|
|
Transitioner: NavigationTransitioner,
|
2016-02-05 22:25:17 +00:00
|
|
|
|
|
|
|
// CustomComponents:
|
|
|
|
Card: NavigationCard,
|
2016-02-25 02:51:09 +00:00
|
|
|
CardStack: NavigationCardStack,
|
2016-02-25 22:50:28 +00:00
|
|
|
Header: NavigationHeader,
|
2016-04-24 11:45:26 +00:00
|
|
|
|
|
|
|
PropTypes: NavigationPropTypes,
|
2016-02-05 22:25:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = NavigationExperimental;
|