Sha256: 441834c833751da7e8b3c6185d95130b99b6757cb48373c8f8939a86f9637051
Contents?: true
Size: 710 Bytes
Versions: 64
Compression:
Stored size: 710 Bytes
Contents
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ if (process.env.NODE_ENV !== 'production') { var ReactIs = require('react-is'); // By explicitly using `prop-types` you are opting into new development behavior. // http://fb.me/prop-types-in-prod var throwOnDirectAccess = true; module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess); } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod module.exports = require('./factoryWithThrowingShims')(); }
Version data entries
64 entries across 64 versions & 5 rubygems