ImageCropper
Neu

Der ImageCropper schneidet ein Bild auf ein bestimmtes Format zu.GitHubMarkdown

Properties

PropertyTypeDescription
image
stringFile
The image file to crop.
width
Width<string | number>Default: 300
The width of the component.
height
Height<string | number>Default: 300
The height of the component.
aspectRatio
number
The aspect ratio of the crop shape.
className
string
The elements class name.
cropShape
rectround

Events

PropertyTypeDescription
onCropComplete
((croppedImage: File) => void)
Callback on crop complete.

Auf dieser Seite