mirror of
https://gitlab.com/wheres-the-tp/ui-mobile.git
synced 2026-01-25 09:14:55 -06:00
11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
// @flow
|
|
import ImagePicker from 'react-native-image-crop-picker';
|
|
|
|
const IMAGE_MAX_WIDTH = 512;
|
|
const IMAGE_MAX_HEIGHT = 384;
|
|
|
|
export const openImagePicker = () =>
|
|
ImagePicker.openPicker({
|
|
width: IMAGE_MAX_WIDTH,
|
|
height: IMAGE_MAX_HEIGHT,
|
|
});
|