From 5b3f583b28c51fe7c469d9aa3bcd900dbb12ece2 Mon Sep 17 00:00:00 2001 From: Jacob Lauritzen Date: Mon, 2 Apr 2018 17:29:05 +0200 Subject: [PATCH] Make backgroundColor optional --- src/CircularProgress.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/CircularProgress.js b/src/CircularProgress.js index 03dc301..47b467c 100644 --- a/src/CircularProgress.js +++ b/src/CircularProgress.js @@ -70,11 +70,11 @@ export default class CircularProgress extends React.Component { style={{ backgroundColor: 'transparent' }} > - { backgroundColor !== 'transparent' && ( + { backgroundColor && ( )} @@ -112,7 +112,6 @@ CircularProgress.propTypes = { CircularProgress.defaultProps = { tintColor: 'black', - backgroundColor: '#e4e4e4', rotation: 90, linecap: 'butt', arcSweepAngle: 360