redraft
Version:
Renders the result of Draft.js convertToRaw using provided callbacks, works well with React
15 lines (13 loc) • 316 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
/**
* Logs a warning message if not in production
*/
var warn = function warn(msg) {
if (process.env.NODE_ENV !== 'production') {
console.warn('Redraft: ' + msg); // eslint-disable-line no-console
}
};
exports.default = warn;