expo-image
Version:
A cross-platform, performant image component for React Native and Expo with Web support
15 lines • 704 B
TypeScript
import React from 'react';
import { NativeSyntheticEvent } from 'react-native';
import { ImageErrorEventData, ImageLoadEventData, ImageNativeProps, ImageProgressEventData } from './Image.types';
declare const ExpoImageModule: any;
declare class ExpoImage extends React.PureComponent<ImageNativeProps> {
onLoadStart: () => void;
onLoad: (event: NativeSyntheticEvent<ImageLoadEventData>) => void;
onProgress: (event: NativeSyntheticEvent<ImageProgressEventData>) => void;
onError: (event: NativeSyntheticEvent<ImageErrorEventData>) => void;
onLoadEnd: () => void;
render(): JSX.Element;
}
export { ExpoImageModule };
export default ExpoImage;
//# sourceMappingURL=ExpoImage.d.ts.map