import { useEffect } from "react";
export const useDeprecation = message => {
  useEffect(() => {
    if (process.env.NODE_ENV === "development") {
      console.warn(message);
    }
  }, [message]);
};
//# sourceMappingURL=useDeprecation.js.map