UNPKG

@atlaskit/editor-plugin-layout

Version:

Layout plugin for @atlaskit/editor-core

10 lines (9 loc) 482 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { BlockMenuItemComponentProps } from '@atlaskit/editor-plugin-block-menu/blockMenuPluginType'; import type { LayoutPlugin } from '../layoutPluginType'; export declare const createLayoutBlockMenuItem: (api: ExtractInjectionAPI<LayoutPlugin> | undefined) => ({ isSuggested }?: BlockMenuItemComponentProps) => React.JSX.Element;