Skip to content

Commit

Permalink
Merge pull request #333 from Plinthify/master
Browse files Browse the repository at this point in the history
Invalid prop style of type array supplied to CircularProgress, expected object
  • Loading branch information
markusl authored Oct 23, 2024
2 parents df8d4da + ef20401 commit c201162
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/CircularProgress.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ export default class CircularProgress extends React.PureComponent {
}

CircularProgress.propTypes = {
style: PropTypes.object,
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.array,
]),
size: PropTypes.oneOfType([
PropTypes.number,
PropTypes.instanceOf(Animated.Value),
Expand Down

0 comments on commit c201162

Please sign in to comment.