text-editor-drcsystems
Version:
Text Editor Made with Love by DRC Systems
22 lines (21 loc) • 694 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
/// <reference types="react" />
import 'katex/dist/katex.css';
import { LexicalCommand, LexicalEditor } from 'lexical';
declare type CommandPayload = {
equation: string;
inline: boolean;
};
export declare const INSERT_EQUATION_COMMAND: LexicalCommand<CommandPayload>;
export declare function InsertEquationDialog({ activeEditor, onClose, }: {
activeEditor: LexicalEditor;
onClose: () => void;
}): JSX.Element;
export default function EquationsPlugin(): JSX.Element | null;
export {};