@baronha/react-native-multiple-image-picker
Version:
� react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android �
42 lines • 1.18 kB
TypeScript
import { Language } from './config';
import { ResultType } from './result';
export type NitroPreviewConfig = {
language: Language;
/**
* Auto play video when open preview.
*
* @platform iOS, Android
*/
videoAutoPlay?: boolean;
};
export interface PreviewConfig extends Omit<NitroPreviewConfig, 'language' | 'backgroundColor'> {
/**
* Language options for the picker.
*
* @platform ios
*
* @description
* - 'system': 🌐 System default
* - 'zh-Hans': 🇨🇳 Simplified Chinese
* - 'zh-Hant': 🇹🇼 Traditional Chinese
* - 'ja': 🇯🇵 Japanese
* - 'ko': 🇰🇷 Korean
* - 'en': 🇬🇧 English
* - 'th': 🇹🇭 Thai
* - 'id': 🇮🇩 Indonesian
* - 'vi': 🇻🇳 Vietnamese (My Country)
* - 'ru': 🇷🇺 Russian
* - 'de': 🇩🇪 German
* - 'fr': 🇫🇷 French
* - 'ar': 🇸🇦 Arabic
*/
language?: Language;
onLongPress?: (index: number) => void;
}
export interface MediaPreview {
type: ResultType;
path?: string;
thumbnail?: string;
localIdentifier?: string;
}
//# sourceMappingURL=preview.d.ts.map