UNPKG

@atlaskit/editor-plugin-emoji

Version:

Emoji plugin for @atlaskit/editor-core

16 lines (15 loc) • 1.03 kB
import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin'; import type { UiComponentFactoryParams } from '@atlaskit/editor-common/types/ui-components'; import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { EmojiPlugin } from '../emojiPluginType'; type InlineEmojiPopupProps = Pick<UiComponentFactoryParams, 'popupsBoundariesElement' | 'popupsMountPoint' | 'popupsScrollableElement'> & { api: ExtractInjectionAPI<EmojiPlugin>; contentId?: string; editorView: EditorView; }; export declare const InlineEmojiPopupOld: ({ api, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, editorView, contentId, 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 {};