UNPKG

@atlaskit/editor-plugin-hyperlink

Version:

Hyperlink plugin for @atlaskit/editor-core

18 lines (17 loc) 730 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'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; 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 {};