Skip to content

Commit 8de8df3

Browse files
authored
Merge pull request #2951 from SUI-Components/progress-bar-color
fix(components/atom/progressBar): proptypes
2 parents ebfeb8a + cfc0423 commit 8de8df3

File tree

1 file changed

+2
-4
lines changed
  • components/atom/progressBar/src/ProgressBarCircle/Circle

1 file changed

+2
-4
lines changed

components/atom/progressBar/src/ProgressBarCircle/Circle/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,12 @@ Circle.propTypes = {
9393
modifier: PropTypes.oneOf(Object.values(MODIFIERS)),
9494
/** The percentage of the current progress */
9595
percentage: PropTypes.number.isRequired,
96-
/** width of the stroke */
97-
strokeWidth: PropTypes.node.isRequired,
9896
/** boolean to activate/desactivate animations */
9997
withAnimation: PropTypes.bool,
10098
/** The size of the progress stroke, by default it is undefined, it can be "small", "medium" or "large" */
101-
progressStrokeWidth: PropTypes.literal,
99+
progressStrokeWidth: PropTypes.number,
102100
/** The size of the main stroke, by default it is undefined, it can be "small", "medium" or "large" */
103-
mainStrokeWidth: PropTypes.literal,
101+
mainStrokeWidth: PropTypes.number,
104102
/** The shape of the end of line, it can be "round" or "square" */
105103
strokeLineCap: PropTypes.string,
106104
/** size of the circle [small, large] */

0 commit comments

Comments
 (0)