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.

12 lines (11 loc) 417 B
import React from 'react'; import { BlockImageNode } from '../../node/block-image-node'; import { ImageNode } from '../../node/image-node'; export interface ImageProps { className?: string; node: ImageNode | BlockImageNode; /** Whether to show scale info when resizing. Defaults to false */ showScaleInfo?: boolean; } declare const Image: React.NamedExoticComponent<ImageProps>; export default Image;