react-bootstrap
Version:
Bootstrap 3 components build with React
22 lines (14 loc) • 597 B
JavaScript
;
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];
exports.__esModule = true;
exports['default'] = deprecationWarning;
var _reactLibWarning = require('react/lib/warning');
var _reactLibWarning2 = _interopRequireDefault(_reactLibWarning);
function deprecationWarning(oldname, newname, link) {
var message = oldname + ' is deprecated. Use ' + newname + ' instead.';
if (link) {
message += '\nYou can read more about it at ' + link;
}
_reactLibWarning2['default'](false, message);
}
module.exports = exports['default'];