Installation
npm install --save @types/react-native-scaled-image
Summary
This package contains type definitions for react-native-scaled-image (https://github.com/nanlabs/react-native-scaled-image).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-scaled-image.
index.d.ts
import * as React from "react";
import { ImageSourcePropType, ImageStyle, StyleProp } from "react-native";
export interface ScaledImageProps {
source: ImageSourcePropType;
height?: number | undefined;
width?: number | undefined;
style?: StyleProp<ImageStyle> | undefined;
}
export default class ScaledImage extends React.Component<ScaledImageProps> {}
Additional Details
- Last updated: Thu, 21 Dec 2023 19:06:51 GMT
- Dependencies: @types/react, react-native
Credits
These definitions were written by Matt Jaeger.