bartgryszko / react-native-circular-progress

React Native component for creating animated, circular progress with ReactART
MIT License
2.12k stars 423 forks source link

Invalid prop `style` of type `array` supplied to `CircularProgress`, expected `object`. #325

Open xucito opened 8 months ago

xucito commented 8 months ago

Currently using "react-native-svg": "^13.9.0" "react-native-circular-progress": "^1.3.9"

Getting the below error

image

Have tested against the sample code-base and able to replicate error

<AnimatedCircularProgress size={120} width={15} fill={100} tintColor="#00e0ff" onAnimationComplete={() => console.log('onAnimationComplete')} backgroundColor="#3d5875" />

For now commenting the validation of style: PropeTypes.object for CircularProgress (src/CircularProgress.js) removes the error and doesnt look like it breaks anything.

image
dammafra commented 7 months ago

Same here

markusl commented 7 months ago

Could you open a PR to fix this, please?

SkyfallWasTaken commented 2 months ago

yo did you find a fix for this? (apart from commenting out that bit)

thomiaditya commented 1 week ago

Im having the same problem on version ^1.4.0