UNPKG

@atlaskit/editor-plugin-expand

Version:

Expand plugin for @atlaskit/editor-core

18 lines (17 loc) 725 B
import type { IntlShape } from 'react-intl-next'; interface ButtonProps { /** Indicates whether interactive expand is allowed */ allowInteractiveExpand: boolean; /** Indicates whether the expand is currently expanded */ expanded: boolean; /** Internationalization object for formatting messages */ intl: IntlShape; } /** * Renders or updates the expand/collapse button inside the provided container element. * * @param container - The HTML element that will contain the expand/collapse button. * @param buttonProps - Properties for configuring the button's behavior and appearance. */ export declare function renderExpandButton(container: HTMLElement, buttonProps: ButtonProps): void; export {};