Преглед на файлове

fix: Pie chart percent prop default value

wonderjar преди 7 години
родител
ревизия
9ef3ce09d9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/Charts/Pie/index.js

+ 1 - 1
src/components/Charts/Pie/index.js

@@ -127,7 +127,7 @@ class Pie extends Component {
       style,
       style,
       height,
       height,
       forceFit = true,
       forceFit = true,
-      percent = 0,
+      percent,
       color,
       color,
       inner = 0.75,
       inner = 0.75,
       animate = true,
       animate = true,