@atlaskit/editor-plugin-expand
Version:
Expand plugin for @atlaskit/editor-core
10 lines (9 loc) • 394 B
TypeScript
import type { IntlShape } from 'react-intl';
interface ExpandButtonProps {
allowInteractiveExpand: boolean;
expanded: boolean;
intl?: IntlShape;
}
/** Update the existing control without a React portal or tooltip positioning work. */
export declare function renderExpandButton(container: HTMLElement, { allowInteractiveExpand, expanded, intl }: ExpandButtonProps): void;
export {};