@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
13 lines (12 loc) • 465 B
TypeScript
import type { ReactNode } from 'react';
import type { ExtractInjectionAPI, NextEditorPlugin } from '../types';
import type { PopupUserIntent } from './types';
/**
*
* A wrapper for popups to signal popupOpen user intent
*/
export declare const UserIntentPopupWrapper: ({ userIntent, children, api, }: {
api: ExtractInjectionAPI<NextEditorPlugin<any, any>> | undefined | null;
children: React.ReactNode;
userIntent?: PopupUserIntent;
}) => ReactNode;