Allow number as source
This commit is contained in:
parent
d83b01e82c
commit
5f59333a8d
|
@ -88,7 +88,7 @@ const FastImageSourcePropType = PropTypes.shape({
|
||||||
|
|
||||||
FastImage.propTypes = {
|
FastImage.propTypes = {
|
||||||
...View.propTypes,
|
...View.propTypes,
|
||||||
source: FastImageSourcePropType,
|
source: PropTypes.oneOfType([FastImageSourcePropType, PropTypes.number]),
|
||||||
onLoadStart: PropTypes.func,
|
onLoadStart: PropTypes.func,
|
||||||
onProgress: PropTypes.func,
|
onProgress: PropTypes.func,
|
||||||
onLoad: PropTypes.func,
|
onLoad: PropTypes.func,
|
||||||
|
|
Loading…
Reference in New Issue