2.0.0 • Published 5 months ago
@types/react-cropper v2.0.0
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.
2.0.0
5 months ago
1.3.7
1 year ago
1.3.6
2 years ago
1.3.5
2 years ago
1.3.4
2 years ago
1.3.3
2 years ago
1.3.2
3 years ago
1.3.1
4 years ago
1.3.0
5 years ago
0.10.7
6 years ago
0.10.6
6 years ago
0.10.5
6 years ago
0.10.4
6 years ago
0.10.3
7 years ago
0.10.2
7 years ago
0.10.1
8 years ago
0.10.0
8 years ago
0.0.21
8 years ago
0.0.20
9 years ago
0.0.19
9 years ago
0.0.18-alpha
9 years ago
0.0.16-alpha
9 years ago
0.0.15-alpha
9 years ago
0.0.14-alpha
9 years ago
0.0.13-alpha
9 years ago
0.0.12-alpha
9 years ago
0.0.11-alpha
9 years ago
0.0.6-alpha
9 years ago
0.0.5-alpha
9 years ago