UNPKG

expo-image-picker

Version:

Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.

21 lines (20 loc) 654 B
import { type ConfigPlugin } from 'expo/config-plugins'; type ImagePickerColors = { cropToolbarColor?: string; cropToolbarIconColor?: string; cropToolbarActionTextColor?: string; cropBackButtonIconColor?: string; cropBackgroundColor?: string; }; type Props = { photosPermission?: string | false; cameraPermission?: string | false; microphonePermission?: string | false; colors?: ImagePickerColors; dark?: { colors?: ImagePickerColors; }; }; export declare const withAndroidImagePickerPermissions: ConfigPlugin<Props | void>; declare const _default: ConfigPlugin<void | Props>; export default _default;