From f21f4ca1918308513db0b3f2a7f809e3318d12e9 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Fri, 10 Feb 2017 08:33:13 +0100 Subject: [PATCH] invalid default style prop caused warning when not specified (Failed prop type: Invalid props.style key 'background' supplied to 'View') --- ProgressBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProgressBar.js b/ProgressBar.js index a21e79e..cf9c564 100644 --- a/ProgressBar.js +++ b/ProgressBar.js @@ -23,7 +23,7 @@ var ProgressBar = React.createClass({ getDefaultProps() { return { - style: styles, + style: {}, easing: Easing.inOut(Easing.ease), easingDuration: 500 };