Allow number as source

This commit is contained in:
Kyle 2017-08-02 10:25:09 -04:00
parent d83b01e82c
commit 5f59333a8d
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ const FastImageSourcePropType = PropTypes.shape({
FastImage.propTypes = {
...View.propTypes,
source: FastImageSourcePropType,
source: PropTypes.oneOfType([FastImageSourcePropType, PropTypes.number]),
onLoadStart: PropTypes.func,
onProgress: PropTypes.func,
onLoad: PropTypes.func,