Novices Plagiarizing Mozart

    @types/react-native-scaled-image
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.1 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @types/react-native-scaled-image

    DownloadsWeekly Downloads

    8

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    4.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • types