mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
20 lines
736 B
TypeScript
20 lines
736 B
TypeScript
import React, { HTMLProps } from 'react';
|
|
import { Editor } from './Editor';
|
|
import { ReactRenderer } from './ReactRenderer';
|
|
export interface EditorContentProps extends HTMLProps<HTMLDivElement> {
|
|
editor: Editor | null;
|
|
}
|
|
export interface EditorContentState {
|
|
renderers: Map<string, ReactRenderer>;
|
|
}
|
|
export declare class PureEditorContent extends React.Component<EditorContentProps, EditorContentState> {
|
|
editorContentRef: React.RefObject<any>;
|
|
constructor(props: EditorContentProps);
|
|
componentDidMount(): void;
|
|
componentDidUpdate(): void;
|
|
init(): void;
|
|
componentWillUnmount(): void;
|
|
render(): JSX.Element;
|
|
}
|
|
export declare const EditorContent: React.MemoExoticComponent<typeof PureEditorContent>;
|