text-editor-drcsystems
Version:
Text Editor Made with Love by DRC Systems
12 lines (11 loc) • 431 B
TypeScript
/// <reference types="react" />
import { LexicalCommand } from 'lexical';
export declare const INSERT_GITLAB_COMMAND: LexicalCommand<any>;
export declare type GitlabPluginProps = {
onFetchPreview?: (url: string) => Promise<any>;
};
export declare type onGitLinkSend = (url: URL) => Promise<{
url: string;
id: number;
}>;
export default function GitlabPlugin({ onFetchPreview, }: GitlabPluginProps): JSX.Element | null;