mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
601 B
TypeScript
18 lines
601 B
TypeScript
// 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;
|
|
width?: number;
|
|
style?: StyleProp<ImageStyle>;
|
|
}
|
|
|
|
export default class ScaledImage extends React.Component<ScaledImageProps> {}
|