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
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: Thu, 28 Dec 2023 19:06:43 GMT
- Dependencies: @types/react
Credits
These definitions were written by Martin Badin.