Sha256: ff450516d1c40708e30124909d949607e8838e4b60ed05f436a706d453133bc1
Contents?: true
Size: 768 Bytes
Versions: 79
Compression:
Stored size: 768 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. */ 'use strict'; // React 15.5 references this module, and assumes PropTypes are still callable in production. // Therefore we re-export development-only version with all the PropTypes checks here. // However if one is migrating to the `prop-types` npm library, they will go through the // `index.js` entry point, and it will branch depending on the environment. var factory = require('./factoryWithTypeCheckers'); module.exports = function(isValidElement) { // It is still allowed in 15.5. var throwOnDirectAccess = false; return factory(isValidElement, throwOnDirectAccess); };
Version data entries
79 entries across 67 versions & 7 rubygems