@atlaskit/editor-plugin-selection-toolbar
Version:
@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core
13 lines (12 loc) • 526 B
TypeScript
import React from 'react';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { SelectionToolbarPlugin } from '../selectionToolbarPluginType';
type PinMenuItemProps = {
api?: ExtractInjectionAPI<SelectionToolbarPlugin>;
disablePin?: boolean;
};
/**
* The menu-item version of pin only appears in selection toolbar - the primary toolbar will have its own component
*/
export declare const PinMenuItem: ({ api, disablePin }: PinMenuItemProps) => React.JSX.Element | null;
export {};