react-countup
Advanced tools
Comparing version 4.0.0-alpha.5 to 4.0.0-alpha.6
@@ -135,3 +135,2 @@ 'use strict'; | ||
// Don't invoke start if component is used as a render prop | ||
console.log(typeof children === 'function', !delay); | ||
if (typeof children === 'function' && delay !== 0) return; | ||
@@ -138,0 +137,0 @@ |
{ | ||
"name": "react-countup", | ||
"version": "4.0.0-alpha.5", | ||
"version": "4.0.0-alpha.6", | ||
"description": "A React component wrapper around CountUp.js", | ||
@@ -5,0 +5,0 @@ "author": "Glenn Reyes <glenn@glennreyes.com> (https://twitter.com/glnnrys)", |
@@ -51,3 +51,2 @@ import Count from 'countup.js'; | ||
// Don't invoke start if component is used as a render prop | ||
console.log(typeof children === 'function', !delay); | ||
if (typeof children === 'function' && delay !== 0) return; | ||
@@ -54,0 +53,0 @@ |
28402
493