[react_native] JS files from D2164068: support filtering by mimeType in CameraRollManager#getPhotos

This commit is contained in:
Felix Oghina 2015-06-17 12:21:07 -07:00
parent 6b163a4a9a
commit 864fd768df
1 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,11 @@ var getPhotosParamChecker = createStrictShapeTypeChecker({
* Specifies filter on asset type
*/
assetType: ReactPropTypes.oneOf(ASSET_TYPE_OPTIONS),
/**
* Filter by mimetype (e.g. image/jpeg).
*/
mimeTypes: ReactPropTypes.arrayOf(ReactPropTypes.string),
});
/**