UNPKG

@atlaskit/editor-plugin-toolbar

Version:

Toolbar plugin for @atlaskit/editor-core

15 lines (14 loc) 658 B
import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model'; import type { ToolbarPlugin } from '../toolbarPluginType'; type SectionProps = { api?: ExtractInjectionAPI<ToolbarPlugin>; children: React.ReactNode; isSharedSection?: boolean; parents: ToolbarComponentTypes; showSeparatorInFullPagePrimaryToolbar?: boolean; testId?: string; }; export declare const Section: ({ children, parents, api, testId, showSeparatorInFullPagePrimaryToolbar, isSharedSection, }: SectionProps) => React.JSX.Element | null; export {};