Skip to content

Commit df48ccc

Browse files
committed
Adding in deprecation warning
1 parent bd27106 commit df48ccc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
console.warn("Version 1.0 is outdated. Please upgrade to version 2.0:\nhttps://github.com/amcharts/amcharts3-react/blob/master/documentation/Migrating%20to%202.0.md#migrating-to-amcharts-react-plugin-20");
2+
13
if (typeof window !== "undefined") {
24
window.React = require("react");
35
window.ReactDOM = require("react-dom");

0 commit comments

Comments
 (0)