Latest updates from IceHrmPro
This commit is contained in:
12
web/node_modules/rc-util/lib/deprecated.js
generated
vendored
Normal file
12
web/node_modules/rc-util/lib/deprecated.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = deprecated;
|
||||
|
||||
function deprecated(props, instead, component) {
|
||||
if (typeof window !== 'undefined' && window.console && window.console.error) {
|
||||
window.console.error("Warning: ".concat(props, " is deprecated at [ ").concat(component, " ], ") + "use [ ".concat(instead, " ] instead of it."));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user