@atlaskit/editor-plugin-emoji
Version:
Emoji plugin for @atlaskit/editor-core
14 lines (13 loc) • 910 B
TypeScript
import React from 'react';
import type { ExtractInjectionAPI, UiComponentFactoryParams } from '@atlaskit/editor-common/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { EmojiPlugin } from '../emojiPluginType';
type InlineEmojiPopupProps = Pick<UiComponentFactoryParams, 'popupsBoundariesElement' | 'popupsMountPoint' | 'popupsScrollableElement'> & {
api: ExtractInjectionAPI<EmojiPlugin>;
editorView: EditorView;
};
export declare const InlineEmojiPopupOld: ({ api, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, editorView, onClose, }: InlineEmojiPopupProps & {
onClose: () => void;
}) => React.JSX.Element | null;
export declare const InlineEmojiPopup: React.MemoExoticComponent<({ api, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, editorView, }: InlineEmojiPopupProps) => React.JSX.Element | null>;
export {};