0.0.5 • Published 11 months ago
@types/react-native-scaled-image v0.0.5
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
// Type definitions for react-native-scaled-image 0.0
// Project: https://github.com/nanlabs/react-native-scaled-image
// Definitions by: Matt Jaeger <https://github.com/Jaeger25>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
import { ImageSourcePropType, StyleProp, ImageStyle } 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, 08 Jul 2021 22:41:16 GMT
- Dependencies: @types/react, @types/react-native
- Global values: none
Credits
These definitions were written by Matt Jaeger.