UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

3 lines (2 loc) 430 B
import{useEffect as o}from"react";function n(n){var e=n.component,t=n.condition,i=void 0===t||t,a=n.message;o((function(){c({component:e,condition:i,message:a})}),[])}function c(o){var n=o.message;if(o.condition&&"production"!==process.env.NODE_ENV){var c="[monday-ui-react-core] ".concat(o.component,": ").concat(n);console.warn(c)}}export{n as useWarnDeprecated,c as warnDeprecated}; //# sourceMappingURL=warn-deprecated.js.map