@asgerami/zemenay-blog
Version:
Plug-and-play blog system for Next.js - Get a fully functional blog running in minutes with zero configuration
22 lines (21 loc) • 638 B
TypeScript
import type { BlogImage } from "../types";
interface ImageEditorProps {
image: BlogImage;
publicUrl: string;
onSave: (editedImageData: ImageEditData) => void;
onCancel: () => void;
className?: string;
}
export interface ImageEditData {
src: string;
alt: string;
width?: number;
height?: number;
alignment: "left" | "center" | "right" | "full";
caption?: string;
borderRadius?: number;
shadow?: boolean;
quality?: number;
}
export declare function ImageEditor({ image, publicUrl, onSave, onCancel, className, }: ImageEditorProps): import("react/jsx-runtime").JSX.Element;
export {};