@atlaskit/editor-plugin-breakout
Version:
Breakout plugin for @atlaskit/editor-core
21 lines (20 loc) • 878 B
TypeScript
import type { ComponentType, FC } from 'react';
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
import type { BreakoutMode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { BreakoutPlugin } from '../breakoutPluginType';
export interface Props {
api: ExtractInjectionAPI<BreakoutPlugin> | undefined;
boundariesElement?: HTMLElement;
breakoutMode: BreakoutMode | undefined;
editorView: EditorView | undefined;
handleClick?: Function;
isBreakoutNodePresent: boolean;
isLivePage?: boolean;
mountPoint?: HTMLElement;
scrollableElement?: HTMLElement;
}
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
};
export default _default_1;