expo-image
Version:
A cross-platform, performant image component for React Native and Expo with Web support
13 lines • 463 B
TypeScript
import { SharedRef } from 'expo';
import { ImageRef } from '../Image.types';
export default class ImageRefWeb extends SharedRef<'image'> implements ImageRef {
nativeRefType: string;
uri: string | null;
width: number;
height: number;
mediaType: string | null;
scale: number;
isAnimated: boolean;
static init(uri: string, width: number, height: number, mediaType: string | null): ImageRefWeb;
}
//# sourceMappingURL=ImageRef.d.ts.map