UNPKG

@atlaskit/editor-plugin-width

Version:

Width plugin for @atlaskit/editor-core

6 lines (5 loc) • 297 B
import type { EditorContainerWidth } from '@atlaskit/editor-common/types/editor-container-width'; import type { NextEditorPlugin } from '@atlaskit/editor-common/types/next-editor-plugin'; export type WidthPlugin = NextEditorPlugin<'width', { sharedState: EditorContainerWidth | undefined; }>;