mirror of
https://github.com/kevinsqi/react-circular-progressbar.git
synced 2026-01-18 15:55:06 +00:00
set default value of className prop to '', fixes 'undefined' default
This commit is contained in:
parent
8baa206378
commit
0cd91b0660
@ -92,8 +92,9 @@ CircularProgressbar.propTypes = {
|
||||
|
||||
CircularProgressbar.defaultProps = {
|
||||
strokeWidth: 8,
|
||||
textForPercentage: (percentage) => `${percentage}%`,
|
||||
className: '',
|
||||
initialAnimation: false,
|
||||
textForPercentage: (percentage) => `${percentage}%`,
|
||||
};
|
||||
|
||||
export default CircularProgressbar;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user