UNPKG

react-perspective-crop

Version:

A flexible React image cropper with draggable custom-shaped bullets and export capabilities.

20 lines (16 loc) 480 B
import * as react_jsx_runtime from 'react/jsx-runtime'; interface IBulletData { id: number; x: number; y: number; } interface IAppProps { bulletsDefaultCordinates: IBulletData[]; imageSrc: string; onChange: (value: IBulletData[]) => void; width?: number | string; height?: number | string; downloadCroppedImg?: (fn: Function) => void; } declare function App(props?: IAppProps): react_jsx_runtime.JSX.Element; export { App as ReactCropper };