3.2.4 • Published 2 years ago
@types/gl-react-image v3.2.4
Installation
npm install --save @types/gl-react-image
Summary
This package contains type definitions for gl-react-image (https://github.com/gre/gl-react-image).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gl-react-image.
index.d.ts
// Type definitions for gl-react-image 3.2
// Project: https://github.com/gre/gl-react-image
// Definitions by: Martin Badin <https://github.com/martin-badin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as React from 'react';
export interface GLImageProps {
center?: [number, number];
resizeMode?: 'cover' | 'free' | 'contain' | 'stretch';
source: any;
zoom?: number;
}
export default class GLImage extends React.Component<GLImageProps> {}
Additional Details
- Last updated: Mon, 06 Dec 2021 19:01:05 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Martin Badin.