react-advanced-cropper
Version:
The react cropper library that gives the possibility to create croppers exactly suited for your website design
12 lines (11 loc) • 634 B
TypeScript
import React from 'react';
import { StencilSize } from 'advanced-cropper/extensions/stencil-size';
import { CustomCropperProps, CustomCropperRef } from '../../types';
declare type UnavailableProps = 'sizeRestrictions' | 'aspectRatio';
export interface FixedCropperSettings {
stencilSize: StencilSize<this>;
}
export declare type FixedCropperProps = Omit<CustomCropperProps<FixedCropperSettings>, UnavailableProps>;
export declare type FixedCropperRef = CustomCropperRef<FixedCropperSettings>;
export declare const FixedCropper: React.ForwardRefExoticComponent<FixedCropperProps & React.RefAttributes<FixedCropperRef>>;
export {};