wangeditor-plugin-formula-plus
Version:
20 lines (19 loc) • 654 B
TypeScript
import React from 'react';
import { IDomEditor } from '@wangeditor/editor';
import './index.less';
interface AutoCompleteProps {
onClose: () => void;
onSelect: (symbol: string) => void;
initialStyle: React.CSSProperties;
editor: IDomEditor;
}
export declare const AutoComplete: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<unknown>>;
declare const _default: {
open({ input, target, editor }: {
input: any;
target: any;
editor: any;
}): Promise<string>;
Component: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<unknown>>;
};
export default _default;