mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-18 16:13:10 +00:00
commit
09c4f25256
@ -1,4 +1,4 @@
|
||||
import React, { PropTypes, Animated } from 'react-native';
|
||||
import React, { View, PropTypes, Animated } from 'react-native';
|
||||
import CircularProgress from './CircularProgress';
|
||||
const AnimatedProgress = Animated.createAnimatedComponent(CircularProgress);
|
||||
|
||||
@ -47,7 +47,7 @@ export default class AnimatedCircularProgress extends React.Component {
|
||||
}
|
||||
|
||||
AnimatedCircularProgress.propTypes = {
|
||||
style: PropTypes.object,
|
||||
style: View.propTypes.style,
|
||||
size: PropTypes.number.isRequired,
|
||||
fill: PropTypes.number.isRequired,
|
||||
prefill: PropTypes.number,
|
||||
|
||||
@ -61,7 +61,7 @@ export default class CircularProgress extends React.Component {
|
||||
}
|
||||
|
||||
CircularProgress.propTypes = {
|
||||
style: PropTypes.object,
|
||||
style: View.propTypes.style,
|
||||
size: PropTypes.number.isRequired,
|
||||
fill: PropTypes.number.isRequired,
|
||||
width: PropTypes.number.isRequired,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user