"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useDeprecation = void 0;
var _react = require("react");
var useDeprecation = exports.useDeprecation = function useDeprecation(message) {
  (0, _react.useEffect)(function () {
    if (process.env.NODE_ENV === "development") {
      console.warn(message);
    }
  }, [message]);
};
//# sourceMappingURL=useDeprecation.js.map