@atlaskit/editor-plugin-selection-toolbar
Version:
@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core
13 lines (12 loc) • 499 B
TypeScript
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { SelectionToolbarPlugin } from '../selectionToolbarPluginType';
type PrimaryToolbarComponentProps = {
api?: ExtractInjectionAPI<SelectionToolbarPlugin>;
disabled?: boolean;
};
/**
* A component used to renderer a pin/unpin
* button to the toolbar to the or make it in-line.
*/
export declare const PrimaryToolbarComponent: ({ api, disabled, }: PrimaryToolbarComponentProps) => JSX.Element;
export {};