UNPKG

@atlaskit/editor-plugin-interaction

Version:

Interaction plugin for @atlaskit/editor-core

13 lines (12 loc) 408 B
import type { EditorCommand, NextEditorPlugin } from '@atlaskit/editor-common/types'; type InteractionCommands = { handleInteraction: EditorCommand; }; export type SharedInteractionState = { interactionState: null | 'hasNotHadInteraction'; }; export type InteractionPlugin = NextEditorPlugin<'interaction', { commands: InteractionCommands; sharedState: SharedInteractionState; }>; export {};