react-native-circular-progress icon indicating copy to clipboard operation
react-native-circular-progress copied to clipboard

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

Open xucito opened this issue 2 years ago • 7 comments

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

xucito avatar Dec 30 '23 12:12 xucito

Same here

dammafra avatar Jan 22 '24 10:01 dammafra

Could you open a PR to fix this, please?

markusl avatar Jan 22 '24 13:01 markusl

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

SkyfallWasTaken avatar Jul 05 '24 17:07 SkyfallWasTaken