0.0.5 • Published 1 year ago

@types/react-native-scaled-image v0.0.5

Weekly downloads
13
License
MIT
Repository
github
Last release
1 year ago

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

Credits

These definitions were written by Matt Jaeger.