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

0.0.5 • 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

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

Credits

These definitions were written by Matt Jaeger.

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

    Package Sidebar

    Install

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

    Weekly Downloads

    3

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    3.58 kB

    Total Files

    5

    Last publish

    Collaborators

    • types