1.3.7 • Published 2 months ago
@types/react-cropper v1.3.7
Installation
npm install --save @types/react-cropper
Summary
This package contains type definitions for react-cropper (https://github.com/roadmanfong/react-cropper).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-cropper.
index.d.ts
// Type definitions for react-cropper 1.3
// Project: https://github.com/roadmanfong/react-cropper, http://roadmanfong.github.io/react-cropper
// Definitions by: Walter Barbagallo <https://github.com/bwlt>
// Harald Friessnegger <https://github.com/frisi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.7
import Cropper from 'cropperjs';
import * as React from 'react';
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> {
ref?: React.LegacyRef<ReactCropper> | undefined;
}
interface ReactCropper extends Cropper {} // tslint:disable-line no-empty-interface
declare class ReactCropper extends React.Component<ReactCropperProps> {
on(eventname: string, callback: () => void): void;
}
export default ReactCropper;
Additional Details
- Last updated: Mon, 18 Apr 2022 23:03:42 GMT
- Dependencies: @types/cropperjs, @types/react
- Global values: none
Credits
These definitions were written by Walter Barbagallo, and Harald Friessnegger.
1.3.7
2 months ago
1.3.6
6 months ago
1.3.5
6 months ago
1.3.4
7 months ago
1.3.3
8 months ago
1.3.2
2 years ago
1.3.1
3 years ago
1.3.0
4 years ago
0.10.7
5 years ago
0.10.6
5 years ago
0.10.5
5 years ago
0.10.4
5 years ago
0.10.3
6 years ago
0.10.2
6 years ago
0.10.1
7 years ago
0.10.0
7 years ago
0.0.21
7 years ago
0.0.20
8 years ago
0.0.19
8 years ago
0.0.18-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago
0.0.14-alpha
8 years ago
0.0.13-alpha
8 years ago
0.0.12-alpha
8 years ago
0.0.11-alpha
8 years ago
0.0.6-alpha
8 years ago
0.0.5-alpha
8 years ago