2025-07-30 18:42:46 +08:00
|
|
|
import type { PassThroughProps } from "../../types";
|
|
|
|
|
|
|
|
|
|
export type ClCropperPassThrough = {
|
|
|
|
|
className?: string;
|
|
|
|
|
image?: PassThroughProps;
|
2025-08-03 15:23:44 +08:00
|
|
|
op?: PassThroughProps;
|
|
|
|
|
opItem?: PassThroughProps;
|
|
|
|
|
mask?: PassThroughProps;
|
2025-07-30 18:42:46 +08:00
|
|
|
cropBox?: PassThroughProps;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ClCropperProps = {
|
|
|
|
|
className?: string;
|
|
|
|
|
pt?: ClCropperPassThrough;
|
2025-08-03 15:23:44 +08:00
|
|
|
cropWidth?: number;
|
|
|
|
|
cropHeight?: number;
|
2025-07-30 18:42:46 +08:00
|
|
|
maxScale?: number;
|
2025-08-03 15:23:44 +08:00
|
|
|
resizable?: boolean;
|
|
|
|
|
};
|