UNPKG

@asgerami/zemenay-blog

Version:

Plug-and-play blog system for Next.js - Get a fully functional blog running in minutes with zero configuration

19 lines (18 loc) 719 B
import type { BlogImage } from '../types'; interface ImageUploadProps { onImageUploaded: (image: BlogImage, publicUrl: string) => void; onError?: (error: string) => void; className?: string; accept?: string; maxSize?: number; } export declare function ImageUpload({ onImageUploaded, onError, className, accept, maxSize }: ImageUploadProps): import("react/jsx-runtime").JSX.Element; interface ImagePreviewProps { image: BlogImage; publicUrl: string; onRemove?: () => void; onInsert?: () => void; className?: string; } export declare function ImagePreview({ image, publicUrl, onRemove, onInsert, className }: ImagePreviewProps): import("react/jsx-runtime").JSX.Element; export {};