UNPKG

@atlaskit/editor-plugin-floating-toolbar

Version:

Floating toolbar plugin for @atlaskit/editor-core

18 lines (17 loc) 582 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import { jsx } from '@emotion/react'; import type { IntlShape } from 'react-intl'; import type { Node } from '@atlaskit/editor-prosemirror/model'; interface ScrollButtonsProps { areAnyNewToolbarFlagsEnabled: boolean; disabled: boolean; intl: IntlShape; node: Node; scrollContainerRef: React.RefObject<HTMLDivElement>; } export declare const ScrollButtons: ({ intl, scrollContainerRef, node, disabled, areAnyNewToolbarFlagsEnabled, }: ScrollButtonsProps) => jsx.JSX.Element | null; export {};