@mxmweb/rtext 1.1.35 → 1.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,10 +56,8 @@ export interface MarkdownitProps {
56
56
  style?: React.CSSProperties;
57
57
  /** 容器高度 */
58
58
  height?: string;
59
+ /** 内容渲染完成回调(DOM 稳定后触发) */
60
+ onRendered?: (root: HTMLElement) => void;
59
61
  }
60
- /**
61
- * Markdownit 富文本渲染组件
62
- * 支持多种数据格式、虚拟滚动和分段加载
63
- */
64
- declare const Markdownit: React.FC<MarkdownitProps>;
65
- export default Markdownit;
62
+ declare const _MarkdownitWithRendered: React.FC<MarkdownitProps>;
63
+ export default _MarkdownitWithRendered;