react-native-ios-utilities
Version:
Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI
16 lines • 595 B
TypeScript
import type { ImageItemConfig } from "./ImageItemConfig";
export type ImageLoadingConfig = {
shouldCache?: boolean;
shouldLazyLoad?: boolean;
};
export type ImageRemoteUrlConfig = {
url: string;
fallbackImage?: ImageItemConfig;
};
export type ImageRemoteURLFallbackBehavior = 'afterFinalAttempt' | 'whileNotLoaded' | 'onLoadError';
export type ImageRemoteURLLoadingConfig = ImageLoadingConfig & {
maxRetryAttempts?: number;
shouldImmediatelyRetryLoading?: boolean;
fallbackBehavior?: ImageRemoteURLFallbackBehavior;
};
//# sourceMappingURL=ImageLoadingConfig.d.ts.map