@mkljczk/lexical-remark
Version:
This package contains Markdown helpers and functionality for Lexical using remark-parse.
12 lines (11 loc) • 373 B
TypeScript
/// <reference types="react" />
import type { NodeKey } from 'lexical';
type EditorImageComponentProps = {
altText: string;
height: 'inherit' | number;
nodeKey: NodeKey;
src: string;
width: 'inherit' | number;
};
export default function EditorImageComponent({ altText, height, nodeKey, src, width, }: EditorImageComponentProps): JSX.Element;
export {};