@atlaskit/editor-plugin-media
Version:
Media plugin for @atlaskit/editor-core
15 lines (14 loc) • 559 B
TypeScript
/** @jsx jsx */
import React from 'react';
import type { IntlShape } from 'react-intl-next';
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
import type { MediaLinkingState } from '../pm-plugins/linking';
export interface LinkingToolbarProps {
editorState: EditorState;
intl: IntlShape;
mediaLinkingState: MediaLinkingState;
onAddLink: React.MouseEventHandler;
onEditLink: React.MouseEventHandler;
onOpenLink: React.MouseEventHandler;
}
export declare const LinkToolbarAppearance: React.FC<LinkingToolbarProps>;