mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-02-17 12:06:40 +00:00
[react_native] JS files from D2164068: support filtering by mimeType in CameraRollManager#getPhotos
This commit is contained in:
parent
6b163a4a9a
commit
864fd768df
@ -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),
|
||||
});
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user