UNPKG

@lobehub/editor

Version:

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

16 lines (15 loc) 462 B
import { type FC } from 'react'; import { BlockImageNode } from '../../node/block-image-node'; import { ImageNode } from '../../node/image-node'; interface LazyImageProps { className?: string | null; newWidth?: number | null; node: ImageNode | BlockImageNode; onError?: () => void; onLoad?: (dimensions: { height: number; width: number; }) => void; } declare const LazyImage: FC<LazyImageProps>; export default LazyImage;