UNPKG

react-advanced-cropper

Version:

The react cropper library that gives the possibility to create croppers exactly suited for your website design

3 lines (2 loc) 249 B
import React, { PropsWithoutRef } from 'react'; export declare function createCropper<T, P = {}>(render: (props: P, ref: React.Ref<T>) => React.ReactElement | null): (props: PropsWithoutRef<P> & React.RefAttributes<T>) => React.ReactElement | null;