@appello/mobile
Version:
Common package with many useful features for mobile development
8 lines (7 loc) • 399 B
TypeScript
import { Nullable } from '@appello/common';
import { CameraOptions } from 'react-native-image-picker';
import { FileAsset } from '../types';
interface UseDeviceGalleryOptions extends Pick<CameraOptions, 'maxWidth' | 'maxHeight'> {
}
export declare function useDeviceGallery(onSuccess: (file: Nullable<FileAsset>) => void, { maxHeight, maxWidth }?: UseDeviceGalleryOptions): [() => void];
export {};