set default value of className prop to '', fixes 'undefined' default

This commit is contained in:
Kevin Qi 2017-08-27 17:51:08 -07:00
parent 8baa206378
commit 0cd91b0660

View File

@ -92,8 +92,9 @@ CircularProgressbar.propTypes = {
CircularProgressbar.defaultProps = {
strokeWidth: 8,
textForPercentage: (percentage) => `${percentage}%`,
className: '',
initialAnimation: false,
textForPercentage: (percentage) => `${percentage}%`,
};
export default CircularProgressbar;