@atlaskit/editor-plugin-card
Version:
Card plugin for @atlaskit/editor-core
19 lines (18 loc) • 907 B
TypeScript
import React from 'react';
import type { IntlShape } from 'react-intl-next';
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
import type { CardOptions } from '@atlaskit/editor-common/card';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { CardPlugin } from '../cardPluginType';
export interface HyperlinkToolbarAppearanceProps {
cardOptions?: CardOptions;
editorAnalyticsApi: EditorAnalyticsAPI | undefined;
editorPluginApi: ExtractInjectionAPI<CardPlugin> | undefined;
editorState: EditorState;
editorView?: EditorView;
intl: IntlShape;
url: string;
}
export declare function HyperlinkToolbarAppearance(props: HyperlinkToolbarAppearanceProps): React.JSX.Element | null;