UNPKG

modulo-editor

Version:

A flexible and extensible block-based editor for React applications

15 lines (14 loc) 587 B
import React, { RefObject } from "react"; export declare const ImageStyleMenu: React.FC<{ imageData: any; lockAspectRatio: boolean; originalDimensions: any; widthInput: string | number; heightInput: string | number; menuRef: RefObject<HTMLDivElement | null>; onReset: () => void; onToggleLockAspectRatio: () => void; onDimensionChange: (dim: "width" | "height", value: string) => void; onObjectFitChange: (fit: "contain" | "cover" | "fill" | "none" | "scale-down") => void; onAlignmentChange: (align: "left" | "center" | "right") => void; }>;