UNPKG

@atlaskit/editor-plugin-hyperlink

Version:

Hyperlink plugin for @atlaskit/editor-core

18 lines (17 loc) • 753 B
/** * @jsxRuntime classic * @jsx jsx */ import { type ComponentType, type FC } from 'react'; import type { WithIntlProps, WrappedComponentProps } from 'react-intl'; import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics/api'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin'; import type { HyperlinkPlugin } from '../hyperlinkPluginType'; type PrimaryToolbarComponentProps = { api: ExtractInjectionAPI<HyperlinkPlugin> | undefined; editorAnalyticsAPI?: EditorAnalyticsAPI; } & WrappedComponentProps; export declare const PrimaryToolbarComponent: FC<WithIntlProps<PrimaryToolbarComponentProps>> & { WrappedComponent: ComponentType<PrimaryToolbarComponentProps>; }; export {};