e0941fb2c110d410ed577505983986670f74e3ac1603f00f24acd6b4d6802d26a64d6119de3110c1eafada44140c7ffb2abea66693dbc7611b897349c48f0d 710 B

12345678910111213141516171819
  1. /**
  2. * Copyright (c) 2013-present, Facebook, Inc.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. if (process.env.NODE_ENV !== 'production') {
  8. var ReactIs = require('react-is');
  9. // By explicitly using `prop-types` you are opting into new development behavior.
  10. // http://fb.me/prop-types-in-prod
  11. var throwOnDirectAccess = true;
  12. module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);
  13. } else {
  14. // By explicitly using `prop-types` you are opting into new production behavior.
  15. // http://fb.me/prop-types-in-prod
  16. module.exports = require('./factoryWithThrowingShims')();
  17. }