@atlaskit/editor-plugin-synced-block
Version:
SyncedBlock plugin for @atlaskit/editor-core
18 lines (17 loc) • 825 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import React from 'react';
import type { MessageDescriptor } from 'react-intl';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { SyncedBlockPlugin, SyncedBlockPluginOptions } from '../syncedBlockPluginType';
import { type ActiveFlag } from '../types';
type Props = {
api?: ExtractInjectionAPI<SyncedBlockPlugin>;
onFeedbackPromptShown?: SyncedBlockPluginOptions['onFeedbackPromptShown'];
onGiveFeedback?: SyncedBlockPluginOptions['onGiveFeedback'];
};
export declare const getSyncBlockCopiedDescription: (activeFlag: ActiveFlag, isSyncBlockActivationEnabled: boolean) => MessageDescriptor | undefined;
export declare const Flag: ({ api, onFeedbackPromptShown, onGiveFeedback, }: Props) => React.JSX.Element | undefined;
export {};