ImageCropper

Die ImageCropper Component wird dafür verwendet ein Bild auf ein bestimmtes Format zuzuschneiden.GitHubMarkdown

Properties

PropertyTypeDefaultDescription
imagestring | File-The image file to crop.
widthWidth<string | number>300The width of the component.
heightHeight<string | number>300The height of the component.
aspectRationumber-The aspect ratio of the crop shape.
classNamestring-The elements class name.
cropShape"rect" | "round"-

Events

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

Auf dieser Seite