mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
[react_native] JS files from D2164068: support filtering by mimeType in CameraRollManager#getPhotos
This commit is contained in:
parent
51e5794cb8
commit
6e3472d13e
@ -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