react-advanced-cropper
Version:
The react cropper library that gives the possibility to create croppers exactly suited for your website design
15 lines (14 loc) • 623 B
TypeScript
import { ReactNode } from 'react';
import { HorizontalCardinalDirection, MoveDirections, VerticalCardinalDirection } from 'advanced-cropper';
interface Props {
className?: string;
children?: ReactNode;
onDrag?: (directions: MoveDirections, event: TouchEvent | MouseEvent) => void;
onDragEnd?: () => void;
onLeave?: () => void;
onEnter?: () => void;
disabled?: boolean;
position?: HorizontalCardinalDirection | VerticalCardinalDirection;
}
export declare const LineWrapper: ({ position, className, disabled, onDrag, onDragEnd, onLeave, onEnter, children, }: Props) => JSX.Element;
export {};