props.ts 418 B

12345678910111213141516171819
  1. import type { PassThroughProps } from "../../types";
  2. export type ClCropperPassThrough = {
  3. className?: string;
  4. image?: PassThroughProps;
  5. op?: PassThroughProps;
  6. opItem?: PassThroughProps;
  7. mask?: PassThroughProps;
  8. cropBox?: PassThroughProps;
  9. };
  10. export type ClCropperProps = {
  11. className?: string;
  12. pt?: ClCropperPassThrough;
  13. cropWidth?: number;
  14. cropHeight?: number;
  15. maxScale?: number;
  16. resizable?: boolean;
  17. };